home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-04-30 | 82.3 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Sun Apr 5 11:11:49 1992, modified Sat Apr 30 07:37:53 1994, creator HyperCard, type HyperCard stack, 40960 bytes "Movie Conversion" , at 0xa080 43078 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 4d 6f 76 69 65 20 | 43 6f 6e 76 65 72 73 69 |..Movie |Conversi|
|00000010| 6f 6e 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |on......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 a0 00 00 | 00 a8 46 a6 04 c9 35 a9 |........|..F...5.|
|00000060| e7 f3 91 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ed 75 00 00 |........|.....u..|
|00000080| 00 00 28 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..(.STAK|........|
|00000090| 00 00 00 0a 00 00 a0 00 | 00 00 28 00 00 00 00 00 |........|..(.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a 63 00 00 00 02 |........|...c....|
|000000b0| 00 00 0b 4b 00 00 08 48 | 00 00 00 02 00 00 1b 40 |...K...H|.......@|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 01 |........|........|
|000000f0| dd ce f0 29 00 00 00 00 | 00 64 01 50 01 64 02 50 |...)....|.d.P.d.P|
|00000100| 00 00 00 00 02 70 03 40 | 00 00 00 00 00 00 00 00 |.....p.@|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 62 00 00 0c 1f | 01 00 01 00 00 00 00 00 |...b....|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 69 20 00 00 1a 20 | 00 00 9e c0 00 00 01 20 |..i ... |....... |
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 4f 6e 20 4f 70 65 6e 53 | 74 61 63 6b 0d 47 65 74 |On OpenS|tack.Get|
|00000690| 20 45 6e 74 65 72 4d 6f | 76 69 65 73 28 29 0d 49 | EnterMo|vies().I|
|000006a0| 66 20 69 74 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |f it is |not empt|
|000006b0| 79 20 74 68 65 6e 0d 41 | 6e 73 77 65 72 20 22 45 |y then.A|nswer "E|
|000006c0| 72 72 6f 72 22 20 26 26 | 20 69 74 20 26 26 20 22 |rror" &&| it && "|
|000006d0| 69 6e 69 74 69 61 6c 69 | 7a 69 6e 67 20 4d 6f 76 |initiali|zing Mov|
|000006e0| 69 65 20 54 6f 6f 6c 62 | 6f 78 22 0d 45 6e 64 20 |ie Toolb|ox".End |
|000006f0| 49 66 0d 45 6e 64 20 4f | 70 65 6e 53 74 61 63 6b |If.End O|penStack|
|00000700| 0d 0d 4f 6e 20 43 6c 6f | 73 65 53 74 61 63 6b 0d |..On Clo|seStack.|
|00000710| 45 78 69 74 4d 6f 76 69 | 65 73 0d 45 6e 64 20 43 |ExitMovi|es.End C|
|00000720| 6c 6f 73 65 53 74 61 63 | 6b 0d 0d 2d 2d 0d 2d 2d |loseStac|k..--.--|
|00000730| 20 42 72 69 65 66 20 6e | 6f 74 65 73 20 6f 6e 20 | Brief n|otes on |
|00000740| 74 68 65 20 65 78 74 65 | 72 6e 61 6c 73 20 61 74 |the exte|rnals at|
|00000750| 74 61 63 68 65 64 20 74 | 6f 20 74 68 69 73 20 73 |tached t|o this s|
|00000760| 74 61 63 6b 3a 0d 2d 2d | 0d 2d 2d 20 a5 58 46 43 |tack:.--|.-- .XFC|
|00000770| 4e 20 43 72 65 61 74 65 | 4d 6f 76 69 65 28 4d 6f |N Create|Movie(Mo|
|00000780| 76 69 65 46 69 6c 65 2c | 20 46 72 61 6d 65 42 6f |vieFile,| FrameBo|
|00000790| 75 6e 64 73 2c 20 50 69 | 78 65 6c 44 65 70 74 68 |unds, Pi|xelDepth|
|000007a0| 2c 0d 2d 2d 20 43 6f 6d | 70 72 65 73 73 6f 72 49 |,.-- Com|pressorI|
|000007b0| 44 2c 20 53 70 61 74 69 | 61 6c 51 75 61 6c 69 74 |D, Spati|alQualit|
|000007c0| 79 2c 20 54 65 6d 70 6f | 72 61 6c 51 75 61 6c 69 |y, Tempo|ralQuali|
|000007d0| 74 79 2c 0d 2d 2d 20 4b | 65 79 46 72 61 6d 65 52 |ty,.-- K|eyFrameR|
|000007e0| 61 74 65 2c 20 44 65 66 | 61 75 6c 74 46 72 61 6d |ate, Def|aultFram|
|000007f0| 65 44 75 72 61 74 69 6f | 6e 2c 09 44 69 74 68 65 |eDuratio|n,.Dithe|
|00000800| 72 44 6f 77 6e 29 0d 2d | 2d 20 63 72 65 61 74 65 |rDown).-|- create|
|00000810| 73 20 61 20 6e 65 77 20 | 76 69 64 65 6f 2d 6f 6e |s a new |video-on|
|00000820| 6c 79 20 6d 6f 76 69 65 | 20 77 68 69 63 68 20 77 |ly movie| which w|
|00000830| 69 6c 6c 20 62 65 20 73 | 61 76 65 64 20 69 6e 0d |ill be s|aved in.|
|00000840| 2d 2d 20 74 68 65 20 73 | 70 65 63 69 66 69 65 64 |-- the s|pecified|
|00000850| 20 6d 6f 76 69 65 20 66 | 69 6c 65 2c 20 61 6e 64 | movie f|ile, and|
|00000860| 20 72 65 74 75 72 6e 73 | 20 61 20 63 6f 6e 74 65 | returns| a conte|
|00000870| 78 74 20 74 68 61 74 20 | 63 61 6e 0d 2d 2d 20 62 |xt that |can.-- b|
|00000880| 65 20 70 61 73 73 65 64 | 20 74 6f 20 41 64 64 4d |e passed| to AddM|
|00000890| 6f 76 69 65 46 72 61 6d | 65 20 74 6f 20 61 64 64 |ovieFram|e to add|
|000008a0| 20 66 72 61 6d 65 73 20 | 74 6f 20 74 68 65 20 6d | frames |to the m|
|000008b0| 6f 76 69 65 2e 0d 2d 2d | 20 46 72 61 6d 65 42 6f |ovie..--| FrameBo|
|000008c0| 75 6e 64 73 20 69 73 20 | 61 20 72 65 63 74 61 6e |unds is |a rectan|
|000008d0| 67 6c 65 20 64 65 66 69 | 6e 69 6e 67 20 74 68 65 |gle defi|ning the|
|000008e0| 20 62 6f 75 6e 64 73 20 | 6f 66 20 74 68 65 0d 2d | bounds |of the.-|
|000008f0| 2d 20 6d 6f 76 69 65 20 | 69 6d 61 67 65 20 28 41 |- movie |image (A|
|00000900| 64 64 4d 6f 76 69 65 46 | 72 61 6d 65 20 77 69 6c |ddMovieF|rame wil|
|00000910| 6c 20 63 6c 69 70 20 70 | 69 63 74 75 72 65 73 20 |l clip p|ictures |
|00000920| 74 6f 20 74 68 69 73 0d | 2d 2d 20 62 6f 75 6e 64 |to this.|-- bound|
|00000930| 61 72 79 29 2c 20 61 6e | 64 20 44 69 74 68 65 72 |ary), an|d Dither|
|00000940| 44 6f 77 6e 20 69 73 20 | 74 72 75 65 20 69 66 20 |Down is |true if |
|00000950| 74 68 65 20 69 6d 61 67 | 65 73 20 61 72 65 0d 2d |the imag|es are.-|
|00000960| 2d 20 74 6f 20 62 65 20 | 64 69 74 68 65 72 65 64 |- to be |dithered|
|00000970| 20 74 6f 20 74 68 65 20 | 73 70 65 63 69 66 69 65 | to the |specifie|
|00000980| 64 20 70 69 78 65 6c 20 | 64 65 70 74 68 20 62 65 |d pixel |depth be|
|00000990| 66 6f 72 65 0d 2d 2d 20 | 62 65 69 6e 67 20 61 64 |fore.-- |being ad|
|000009a0| 64 65 64 20 74 6f 20 74 | 68 65 20 6d 6f 76 69 65 |ded to t|he movie|
|000009b0| 20 28 64 65 66 61 75 6c | 74 20 69 73 20 66 61 6c | (defaul|t is fal|
|000009c0| 73 65 29 2e 0d 2d 2d 0d | 2d 2d 20 a5 58 43 4d 44 |se)..--.|-- .XCMD|
|000009d0| 20 41 64 64 4d 6f 76 69 | 65 46 72 61 6d 65 20 43 | AddMovi|eFrame C|
|000009e0| 6f 6e 74 65 78 74 2c 20 | 46 72 61 6d 65 50 69 63 |ontext, |FramePic|
|000009f0| 74 75 72 65 2c 20 46 72 | 61 6d 65 44 75 72 61 74 |ture, Fr|ameDurat|
|00000a00| 69 6f 6e 0d 2d 2d 20 61 | 64 64 73 20 61 20 6e 65 |ion.-- a|dds a ne|
|00000a10| 77 20 6d 6f 76 69 65 20 | 74 6f 20 61 20 6d 6f 76 |w movie |to a mov|
|00000a20| 69 65 20 63 6f 6e 74 65 | 78 74 20 63 72 65 61 74 |ie conte|xt creat|
|00000a30| 65 64 20 62 79 20 43 72 | 65 61 74 65 4d 6f 76 69 |ed by Cr|eateMovi|
|00000a40| 65 2e 0d 2d 2d 20 46 72 | 61 6d 65 50 69 63 74 75 |e..-- Fr|amePictu|
|00000a50| 72 65 20 69 73 20 61 20 | 68 61 6e 64 6c 65 20 74 |re is a |handle t|
|00000a60| 6f 20 74 68 65 20 70 69 | 63 74 75 72 65 20 66 6f |o the pi|cture fo|
|00000a70| 72 6d 69 6e 67 20 74 68 | 65 20 69 6d 61 67 65 2c |rming th|e image,|
|00000a80| 0d 2d 2d 20 61 6e 64 20 | 46 72 61 6d 65 44 75 72 |.-- and |FrameDur|
|00000a90| 61 74 69 6f 6e 20 69 73 | 20 74 68 65 20 64 75 72 |ation is| the dur|
|00000aa0| 61 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 66 72 61 |ation of| the fra|
|00000ab0| 6d 65 20 28 64 65 66 61 | 75 6c 74 73 0d 2d 2d 20 |me (defa|ults.-- |
|00000ac0| 74 6f 20 74 68 65 20 44 | 65 66 61 75 6c 74 46 72 |to the D|efaultFr|
|00000ad0| 61 6d 65 44 75 72 61 74 | 69 6f 6e 20 70 61 73 73 |ameDurat|ion pass|
|00000ae0| 65 64 20 74 6f 20 43 72 | 65 61 74 65 4d 6f 76 69 |ed to Cr|eateMovi|
|00000af0| 65 29 2e 0d 2d 2d 0d 2d | 2d 20 a5 58 43 4d 44 20 |e)..--.-|- .XCMD |
|00000b00| 46 69 6e 69 73 68 65 64 | 4d 6f 76 69 65 20 43 6f |Finished|Movie Co|
|00000b10| 6e 74 65 78 74 2c 20 41 | 62 61 6e 64 6f 6e 0d 2d |ntext, A|bandon.-|
|00000b20| 2d 20 66 69 6e 69 73 68 | 65 73 20 63 72 65 61 74 |- finish|es creat|
|00000b30| 69 6f 6e 20 6f 66 20 61 | 20 6d 6f 76 69 65 2c 20 |ion of a| movie, |
|00000b40| 73 61 76 65 73 20 74 68 | 65 20 6d 6f 76 69 65 20 |saves th|e movie |
|00000b50| 69 6e 20 66 69 6c 65 2c | 0d 2d 2d 20 61 6e 64 20 |in file,|.-- and |
|00000b60| 66 72 65 65 73 20 75 70 | 20 6d 65 6d 6f 72 79 2e |frees up| memory.|
|00000b70| 20 49 66 20 41 62 61 6e | 64 6f 6e 20 69 73 20 74 | If Aban|don is t|
|00000b80| 72 75 65 2c 20 74 68 65 | 20 6d 6f 76 69 65 20 69 |rue, the| movie i|
|00000b90| 73 0d 2d 2d 20 6e 6f 74 | 20 73 61 76 65 64 20 28 |s.-- not| saved (|
|00000ba0| 64 65 66 61 75 6c 74 20 | 69 73 20 66 61 6c 73 65 |default |is false|
|00000bb0| 29 2e 0d 2d 2d 0d 2d 2d | 20 a5 58 46 43 4e 20 47 |)..--.--| .XFCN G|
|00000bc0| 65 74 50 49 43 53 49 6e | 66 6f 28 49 6e 66 6f 48 |etPICSIn|fo(InfoH|
|00000bd0| 61 6e 64 6c 65 29 0d 2d | 2d 20 64 65 63 6f 64 65 |andle).-|- decode|
|00000be0| 73 20 61 6e 20 22 49 4e | 46 4f 22 20 72 65 73 6f |s an "IN|FO" reso|
|00000bf0| 75 72 63 65 20 68 61 6e | 64 6c 65 20 66 72 6f 6d |urce han|dle from|
|00000c00| 20 61 20 50 49 43 53 20 | 66 69 6c 65 2c 0d 2d 2d | a PICS |file,.--|
|00000c10| 20 72 65 74 75 72 6e 69 | 6e 67 20 61 20 73 69 78 | returni|ng a six|
|00000c20| 2d 6c 69 6e 65 20 73 74 | 72 69 6e 67 20 63 6f 6e |-line st|ring con|
|00000c30| 74 61 69 6e 69 6e 67 20 | 74 68 65 20 66 6f 6c 6c |taining |the foll|
|00000c40| 6f 77 69 6e 67 3a 0d 2d | 2d 20 20 20 20 2a 20 42 |owing:.-|- * B|
|00000c50| 57 43 6f 6c 6f 72 20 28 | 30 20 66 6f 72 20 42 2f |WColor (|0 for B/|
|00000c60| 57 20 31 20 66 6f 72 20 | 63 6f 6c 6f 75 72 2f 67 |W 1 for |colour/g|
|00000c70| 72 65 79 73 63 61 6c 65 | 29 0d 2d 2d 20 20 20 20 |reyscale|).-- |
|00000c80| 2a 20 50 69 78 65 6c 44 | 65 70 74 68 0d 2d 2d 20 |* PixelD|epth.-- |
|00000c90| 20 20 20 2a 20 53 70 65 | 65 64 20 28 70 6f 73 69 | * Spe|ed (posi|
|00000ca0| 74 69 76 65 20 66 6f 72 | 20 66 72 61 6d 65 73 20 |tive for| frames |
|00000cb0| 70 65 72 20 73 65 63 6f | 6e 64 2c 20 6e 65 67 61 |per seco|nd, nega|
|00000cc0| 74 69 76 65 20 66 6f 72 | 20 73 65 63 6f 6e 64 73 |tive for| seconds|
|00000cd0| 20 70 65 72 20 66 72 61 | 6d 65 29 0d 2d 2d 20 20 | per fra|me).-- |
|00000ce0| 20 20 2a 20 56 65 72 73 | 69 6f 6e 20 28 73 68 6f | * Vers|ion (sho|
|00000cf0| 75 6c 64 20 62 65 20 30 | 29 0d 2d 2d 20 20 20 20 |uld be 0|).-- |
|00000d00| 2a 20 43 72 65 61 74 6f | 72 20 63 6f 64 65 0d 2d |* Creato|r code.-|
|00000d10| 2d 20 20 20 20 2a 20 4c | 61 72 67 65 73 74 50 69 |- * L|argestPi|
|00000d20| 63 74 75 72 65 53 69 7a | 65 20 28 30 20 69 66 20 |ctureSiz|e (0 if |
|00000d30| 75 6e 6b 6e 6f 77 6e 29 | 0d 2d 2d 0d 2d 2d 20 a5 |unknown)|.--.-- .|
|00000d40| 58 46 43 4e 20 4d 61 6b | 65 50 49 43 53 49 6e 66 |XFCN Mak|ePICSInf|
|00000d50| 6f 28 53 72 63 49 6e 66 | 6f 29 0d 2d 2d 20 65 6e |o(SrcInf|o).-- en|
|00000d60| 63 6f 64 65 73 20 61 20 | 73 69 78 2d 6c 69 6e 65 |codes a |six-line|
|00000d70| 20 73 74 72 69 6e 67 20 | 6f 66 20 74 68 65 20 66 | string |of the f|
|00000d80| 6f 72 6d 20 72 65 74 75 | 72 6e 65 64 20 62 79 0d |orm retu|rned by.|
|00000d90| 2d 2d 20 47 65 74 50 49 | 43 53 49 6e 66 6f 2c 20 |-- GetPI|CSInfo, |
|00000da0| 61 6e 64 20 70 75 74 73 | 20 74 68 65 20 72 65 73 |and puts| the res|
|00000db0| 75 6c 74 20 69 6e 74 6f | 20 61 20 6e 65 77 20 68 |ult into| a new h|
|00000dc0| 61 6e 64 6c 65 0d 2d 2d | 20 77 68 69 63 68 20 63 |andle.--| which c|
|00000dd0| 61 6e 20 62 65 20 61 64 | 64 65 64 20 74 6f 20 61 |an be ad|ded to a|
|00000de0| 20 50 49 43 53 20 66 69 | 6c 65 20 61 73 20 69 74 | PICS fi|le as it|
|00000df0| 73 20 49 4e 46 4f 20 72 | 65 73 6f 75 72 63 65 2e |s INFO r|esource.|
|00000e00| 0d 2d 2d 0d 2d 2d 20 54 | 68 65 20 61 62 6f 76 65 |.--.-- T|he above|
|00000e10| 20 65 78 74 65 72 6e 61 | 6c 73 20 77 65 72 65 20 | externa|ls were |
|00000e20| 73 70 65 63 69 66 69 63 | 61 6c 6c 79 20 77 72 69 |specific|ally wri|
|00000e30| 74 74 65 6e 20 66 6f 72 | 20 75 73 65 0d 2d 2d 20 |tten for| use.-- |
|00000e40| 69 6e 20 74 68 69 73 20 | 73 74 61 63 6b 2c 20 62 |in this |stack, b|
|00000e50| 75 74 20 74 68 65 20 6f | 6e 65 73 20 62 65 6c 6f |ut the o|nes belo|
|00000e60| 77 20 61 72 65 20 6f 66 | 20 6d 6f 72 65 20 67 65 |w are of| more ge|
|00000e70| 6e 65 72 61 6c 20 75 73 | 65 2e 0d 2d 2d 0d 2d 2d |neral us|e..--.--|
|00000e80| 20 a5 58 46 43 4e 20 45 | 6e 74 65 72 4d 6f 76 69 | .XFCN E|nterMovi|
|00000e90| 65 73 28 29 0d 2d 2d 20 | 69 6e 69 74 69 61 6c 69 |es().-- |initiali|
|00000ea0| 7a 65 73 20 74 68 65 20 | 51 75 69 63 6b 54 69 6d |zes the |QuickTim|
|00000eb0| 65 20 4d 6f 76 69 65 20 | 54 6f 6f 6c 62 6f 78 2e |e Movie |Toolbox.|
|00000ec0| 20 4d 75 73 74 20 62 65 | 20 63 61 6c 6c 65 64 0d | Must be| called.|
|00000ed0| 2d 2d 20 61 74 20 6c 65 | 61 73 74 20 6f 6e 63 65 |-- at le|ast once|
|00000ee0| 20 62 65 66 6f 72 65 20 | 75 73 69 6e 67 20 61 6e | before |using an|
|00000ef0| 79 20 4d 6f 76 69 65 20 | 54 6f 6f 6c 62 6f 78 20 |y Movie |Toolbox |
|00000f00| 72 6f 75 74 69 6e 65 73 | 2e 0d 2d 2d 0d 2d 2d 20 |routines|..--.-- |
|00000f10| a5 58 43 4d 44 20 45 78 | 69 74 4d 6f 76 69 65 73 |.XCMD Ex|itMovies|
|00000f20| 0d 2d 2d 20 74 65 72 6d | 69 6e 61 74 65 73 20 75 |.-- term|inates u|
|00000f30| 73 65 20 6f 66 20 74 68 | 65 20 4d 6f 76 69 65 20 |se of th|e Movie |
|00000f40| 54 6f 6f 6c 62 6f 78 2e | 20 4d 75 73 74 20 62 65 |Toolbox.| Must be|
|00000f50| 20 63 61 6c 6c 65 64 20 | 6f 6e 63 65 0d 2d 2d 20 | called |once.-- |
|00000f60| 66 6f 72 20 65 61 63 68 | 20 63 61 6c 6c 20 74 6f |for each| call to|
|00000f70| 20 45 6e 74 65 72 4d 6f | 76 69 65 73 2e 0d 2d 2d | EnterMo|vies..--|
|00000f80| 0d 2d 2d 20 a5 58 43 4d | 44 20 43 72 65 61 74 65 |.-- .XCM|D Create|
|00000f90| 4d 6f 76 69 65 46 69 6c | 65 20 4d 6f 76 69 65 46 |MovieFil|e MovieF|
|00000fa0| 69 6c 65 4e 61 6d 65 2c | 20 44 65 6c 65 74 65 45 |ileName,| DeleteE|
|00000fb0| 78 69 73 74 69 6e 67 2c | 20 43 72 65 61 74 6f 72 |xisting,| Creator|
|00000fc0| 43 6f 64 65 0d 2d 2d 20 | 63 72 65 61 74 65 73 20 |Code.-- |creates |
|00000fd0| 61 20 6e 65 77 20 6d 6f | 76 69 65 20 66 69 6c 65 |a new mo|vie file|
|00000fe0| 2e 20 44 65 6c 65 74 65 | 45 78 69 73 74 69 6e 67 |. Delete|Existing|
|00000ff0| 20 69 73 20 74 72 75 65 | 20 74 6f 0d 2d 2d 20 64 | is true| to.-- d|
|00001000| 65 6c 65 74 65 20 61 6e | 20 65 78 69 73 74 69 6e |elete an| existin|
|00001010| 67 20 66 69 6c 65 20 6f | 66 20 74 68 65 20 73 61 |g file o|f the sa|
|00001020| 6d 65 20 6e 61 6d 65 2e | 20 43 72 65 61 74 6f 72 |me name.| Creator|
|00001030| 43 6f 64 65 0d 2d 2d 20 | 69 73 20 74 68 65 20 6f |Code.-- |is the o|
|00001040| 70 74 69 6f 6e 61 6c 20 | 66 6f 75 72 2d 63 68 61 |ptional |four-cha|
|00001050| 72 61 63 74 65 72 20 73 | 69 67 6e 61 74 75 72 65 |racter s|ignature|
|00001060| 20 74 6f 20 67 69 76 65 | 20 74 6f 20 74 68 65 0d | to give| to the.|
|00001070| 2d 2d 20 6d 6f 76 69 65 | 20 66 69 6c 65 3b 20 74 |-- movie| file; t|
|00001080| 68 65 20 64 65 66 61 75 | 6c 74 20 69 73 20 d2 54 |he defau|lt is .T|
|00001090| 56 4f 44 d3 2c 20 77 68 | 69 63 68 20 69 73 20 74 |VOD., wh|ich is t|
|000010a0| 68 65 20 63 72 65 61 74 | 6f 72 20 63 6f 64 65 0d |he creat|or code.|
|000010b0| 2d 2d 20 66 6f 72 20 41 | 70 70 6c 65 d5 73 20 53 |-- for A|pple.s S|
|000010c0| 69 6d 70 6c 65 20 50 6c | 61 79 65 72 2e 0d 2d 2d |imple Pl|ayer..--|
|000010d0| 0d 2d 2d 20 a5 58 46 43 | 4e 20 4f 70 65 6e 52 65 |.-- .XFC|N OpenRe|
|000010e0| 73 46 69 6c 65 28 52 65 | 73 46 69 6c 65 4e 61 6d |sFile(Re|sFileNam|
|000010f0| 65 2c 20 52 65 61 64 57 | 72 69 74 65 29 0d 2d 2d |e, ReadW|rite).--|
|00001100| 20 6f 70 65 6e 73 20 61 | 20 72 65 73 6f 75 72 63 | opens a| resourc|
|00001110| 65 20 66 69 6c 65 20 61 | 6e 64 20 72 65 74 75 72 |e file a|nd retur|
|00001120| 6e 73 20 74 68 65 20 69 | 6e 74 65 67 65 72 20 72 |ns the i|nteger r|
|00001130| 65 66 6e 75 6d 2e 0d 2d | 2d 20 52 65 61 64 57 72 |efnum..-|- ReadWr|
|00001140| 69 74 65 20 69 73 20 74 | 72 75 65 20 66 6f 72 20 |ite is t|rue for |
|00001150| 72 65 61 64 2f 77 72 69 | 74 65 20 61 63 63 65 73 |read/wri|te acces|
|00001160| 73 2c 20 66 61 6c 73 65 | 20 66 6f 72 0d 2d 2d 20 |s, false| for.-- |
|00001170| 72 65 61 64 2d 6f 6e 6c | 79 20 28 64 65 66 61 75 |read-onl|y (defau|
|00001180| 6c 74 20 69 73 20 66 61 | 6c 73 65 29 2e 20 52 65 |lt is fa|lse). Re|
|00001190| 74 75 72 6e 73 20 61 6e | 20 65 6d 70 74 79 20 72 |turns an| empty r|
|000011a0| 65 73 75 6c 74 0d 2d 2d | 20 69 66 20 79 6f 75 20 |esult.--| if you |
|000011b0| 74 72 79 20 74 6f 20 6f | 70 65 6e 20 61 20 72 65 |try to o|pen a re|
|000011c0| 73 6f 75 72 63 65 20 66 | 69 6c 65 20 74 68 61 74 |source f|ile that|
|000011d0| d5 73 20 61 6c 72 65 61 | 64 79 20 6f 70 65 6e 2e |.s alrea|dy open.|
|000011e0| 0d 2d 2d 20 4f 6e 20 72 | 65 74 75 72 6e 2c 20 74 |.-- On r|eturn, t|
|000011f0| 68 65 20 63 75 72 72 65 | 6e 74 20 72 65 73 6f 75 |he curre|nt resou|
|00001200| 72 63 65 20 66 69 6c 65 | 20 69 73 20 73 74 69 6c |rce file| is stil|
|00001210| 6c 20 77 68 61 74 0d 2d | 2d 20 69 74 20 77 61 73 |l what.-|- it was|
|00001220| 20 62 65 66 6f 72 65 2c | 20 73 6f 20 72 65 73 6f | before,| so reso|
|00001230| 75 72 63 65 73 20 66 72 | 6f 6d 20 74 68 69 73 20 |urces fr|om this |
|00001240| 66 69 6c 65 20 64 6f 6e | d5 74 0d 2d 2d 20 69 6e |file don|.t.-- in|
|00001250| 61 64 76 65 72 74 65 6e | 74 6c 79 20 67 65 74 20 |adverten|tly get |
|00001260| 75 73 65 64 20 65 6c 73 | 65 77 68 65 72 65 2e 0d |used els|ewhere..|
|00001270| 2d 2d 0d 2d 2d 20 a5 58 | 46 43 4e 20 47 65 74 52 |--.-- .X|FCN GetR|
|00001280| 65 73 6f 75 72 63 65 28 | 52 65 73 46 69 6c 65 2c |esource(|ResFile,|
|00001290| 20 52 65 73 54 79 70 65 | 2c 20 52 65 73 49 44 2c | ResType|, ResID,|
|000012a0| 20 55 73 65 53 79 73 48 | 65 61 70 29 0d 2d 2d 20 | UseSysH|eap).-- |
|000012b0| 72 65 61 64 73 20 61 20 | 72 65 73 6f 75 72 63 65 |reads a |resource|
|000012c0| 20 66 72 6f 6d 20 74 68 | 65 20 73 70 65 63 69 66 | from th|e specif|
|000012d0| 69 65 64 20 72 65 73 6f | 75 72 63 65 20 66 69 6c |ied reso|urce fil|
|000012e0| 65 2c 0d 2d 2d 20 77 69 | 74 68 20 74 68 65 20 73 |e,.-- wi|th the s|
|000012f0| 70 65 63 69 66 69 65 64 | 20 74 79 70 65 20 61 6e |pecified| type an|
|00001300| 64 20 49 44 2c 20 6d 61 | 6b 65 73 20 69 74 20 6e |d ID, ma|kes it n|
|00001310| 6f 6e 70 75 72 67 65 61 | 62 6c 65 2c 0d 2d 2d 20 |onpurgea|ble,.-- |
|00001320| 61 6e 64 20 72 65 74 75 | 72 6e 73 20 69 74 73 20 |and retu|rns its |
|00001330| 68 61 6e 64 6c 65 2e 20 | 55 73 65 53 79 73 48 65 |handle. |UseSysHe|
|00001340| 61 70 20 69 73 20 74 72 | 75 65 20 74 6f 20 6c 6f |ap is tr|ue to lo|
|00001350| 61 64 0d 2d 2d 20 74 68 | 65 20 72 65 73 6f 75 72 |ad.-- th|e resour|
|00001360| 63 65 20 69 6e 74 6f 20 | 74 68 65 20 73 79 73 74 |ce into |the syst|
|00001370| 65 6d 20 68 65 61 70 2c | 20 77 68 69 63 68 20 69 |em heap,| which i|
|00001380| 73 20 75 73 65 66 75 6c | 20 69 66 20 69 74 0d 2d |s useful| if it.-|
|00001390| 2d 20 6d 69 67 68 74 20 | 62 65 20 70 6f 74 65 6e |- might |be poten|
|000013a0| 74 69 61 6c 6c 79 20 6c | 61 72 67 65 20 28 64 65 |tially l|arge (de|
|000013b0| 66 61 75 6c 74 20 69 73 | 20 66 61 6c 73 65 2c 20 |fault is| false, |
|000013c0| 69 67 6e 6f 72 65 64 20 | 69 6e 0d 2d 2d 20 61 6e |ignored |in.-- an|
|000013d0| 79 20 63 61 73 65 20 69 | 66 20 4d 75 6c 74 69 46 |y case i|f MultiF|
|000013e0| 69 6e 64 65 72 20 69 73 | 20 6e 6f 74 20 72 75 6e |inder is| not run|
|000013f0| 6e 69 6e 67 29 2e 0d 2d | 2d 0d 2d 2d 20 a5 58 43 |ning)..-|-.-- .XC|
|00001400| 4d 44 20 43 6c 6f 73 65 | 52 65 73 46 69 6c 65 20 |MD Close|ResFile |
|00001410| 52 65 73 46 69 6c 65 0d | 2d 2d 20 63 6c 6f 73 65 |ResFile.|-- close|
|00001420| 73 20 61 20 72 65 73 6f | 75 72 63 65 20 66 69 6c |s a reso|urce fil|
|00001430| 65 20 70 72 65 76 69 6f | 75 73 6c 79 20 6f 70 65 |e previo|usly ope|
|00001440| 6e 65 64 20 62 79 20 4f | 70 65 6e 52 65 73 46 69 |ned by O|penResFi|
|00001450| 6c 65 2e 0d 2d 2d 0d 2d | 2d 20 a5 58 43 4d 44 20 |le..--.-|- .XCMD |
|00001460| 52 65 6c 65 61 73 65 52 | 65 73 6f 75 72 63 65 20 |ReleaseR|esource |
|00001470| 54 68 65 52 65 73 6f 75 | 72 63 65 0d 2d 2d 20 66 |TheResou|rce.-- f|
|00001480| 72 65 65 73 20 75 70 20 | 74 68 65 20 6d 65 6d 6f |rees up |the memo|
|00001490| 72 79 20 6f 63 63 75 70 | 69 65 64 20 62 79 20 61 |ry occup|ied by a|
|000014a0| 20 72 65 73 6f 75 72 63 | 65 2e 0d 2d 2d 0d 2d 2d | resourc|e..--.--|
|000014b0| 20 a5 58 46 43 4e 20 50 | 6f 70 55 70 4d 65 6e 75 | .XFCN P|opUpMenu|
|000014c0| 53 65 6c 65 63 74 28 4d | 61 69 6e 4d 65 6e 75 2c |Select(M|ainMenu,|
|000014d0| 20 54 6f 70 2c 20 4c 65 | 66 74 2c 20 50 6f 70 55 | Top, Le|ft, PopU|
|000014e0| 70 49 74 65 6d 2c 0d 2d | 2d 20 73 75 62 4d 65 6e |pItem,.-|- subMen|
|000014f0| 75 31 2c 20 73 75 62 4d | 65 6e 75 32 20 2e 2e 2e |u1, subM|enu2 ...|
|00001500| 20 29 0d 2d 2d 20 64 69 | 73 70 6c 61 79 73 20 61 | ).-- di|splays a|
|00001510| 20 70 6f 70 2d 75 70 20 | 74 65 78 74 20 6d 65 6e | pop-up |text men|
|00001520| 75 20 28 77 69 74 68 20 | 6f 70 74 69 6f 6e 61 6c |u (with |optional|
|00001530| 20 73 75 62 6d 65 6e 75 | 73 29 20 61 6e 64 0d 2d | submenu|s) and.-|
|00001540| 2d 20 72 65 74 75 72 6e | 73 20 74 68 65 20 75 73 |- return|s the us|
|00001550| 65 72 d5 73 20 73 65 6c | 65 63 74 69 6f 6e 2e 20 |er.s sel|ection. |
|00001560| 45 61 63 68 20 6d 65 6e | 75 20 69 73 20 65 78 70 |Each men|u is exp|
|00001570| 72 65 73 73 65 64 20 61 | 73 0d 2d 2d 20 61 20 73 |ressed a|s.-- a s|
|00001580| 74 72 69 6e 67 20 63 6f | 6e 74 61 69 6e 69 6e 67 |tring co|ntaining|
|00001590| 20 6f 6e 65 20 69 74 65 | 6d 20 74 6f 20 61 20 6c | one ite|m to a l|
|000015a0| 69 6e 65 2c 20 61 6e 64 | 20 79 6f 75 20 63 61 6e |ine, and| you can|
|000015b0| 20 75 73 65 0d 2d 2d 20 | 61 6e 79 20 6f 66 20 74 | use.-- |any of t|
|000015c0| 68 65 20 73 70 65 63 69 | 61 6c 20 63 68 61 72 61 |he speci|al chara|
|000015d0| 63 74 65 72 73 20 72 65 | 63 6f 67 6e 69 7a 65 64 |cters re|cognized|
|000015e0| 20 62 79 20 74 68 65 20 | 41 70 70 65 6e 64 4d 65 | by the |AppendMe|
|000015f0| 6e 75 0d 2d 2d 20 72 6f | 75 74 69 6e 65 20 69 6e |nu.-- ro|utine in|
|00001600| 20 74 68 65 20 4d 65 6e | 75 20 4d 61 6e 61 67 65 | the Men|u Manage|
|00001610| 72 2c 20 77 69 74 68 20 | 74 68 65 20 65 78 63 65 |r, with |the exce|
|00001620| 70 74 69 6f 6e 20 6f 66 | 20 6b 65 79 62 6f 61 72 |ption of| keyboar|
|00001630| 64 0d 2d 2d 20 73 68 6f | 72 74 63 75 74 73 2c 20 |d.-- sho|rtcuts, |
|00001640| 77 68 69 63 68 20 61 72 | 65 20 75 73 65 64 20 74 |which ar|e used t|
|00001650| 6f 20 69 6e 64 69 63 61 | 74 65 20 6c 69 6e 6b 73 |o indica|te links|
|00001660| 20 74 6f 20 73 75 62 6d | 65 6e 75 73 2e 0d 2d 2d | to subm|enus..--|
|00001670| 20 54 6f 70 20 61 6e 64 | 20 4c 65 66 74 20 61 72 | Top and| Left ar|
|00001680| 65 20 74 68 65 20 70 6f | 73 69 74 69 6f 6e 20 28 |e the po|sition (|
|00001690| 69 6e 20 67 6c 6f 62 61 | 6c 20 63 6f 6f 72 64 69 |in globa|l coordi|
|000016a0| 6e 61 74 65 73 29 0d 2d | 2d 20 61 74 20 77 68 69 |nates).-|- at whi|
|000016b0| 63 68 20 74 6f 20 64 69 | 73 70 6c 61 79 20 74 68 |ch to di|splay th|
|000016c0| 65 20 6d 65 6e 75 2c 20 | 61 6e 64 20 50 6f 70 55 |e menu, |and PopU|
|000016d0| 70 49 74 65 6d 20 69 73 | 20 74 68 65 20 6e 75 6d |pItem is| the num|
|000016e0| 62 65 72 0d 2d 2d 20 6f | 66 20 74 68 65 20 6d 61 |ber.-- o|f the ma|
|000016f0| 69 6e 20 6d 65 6e 75 20 | 69 74 65 6d 20 77 68 69 |in menu |item whi|
|00001700| 63 68 20 69 73 20 74 6f | 20 61 70 70 65 61 72 20 |ch is to| appear |
|00001710| 61 74 20 74 68 61 74 20 | 70 6f 73 69 74 69 6f 6e |at that |position|
|00001720| 2e 0d 2d 2d 20 54 68 65 | 20 66 75 6e 63 74 69 6f |..-- The| functio|
|00001730| 6e 20 72 65 73 75 6c 74 | 20 69 73 20 7a 65 72 6f |n result| is zero|
|00001740| 20 74 6f 20 69 6e 64 69 | 63 61 74 65 20 6e 6f 20 | to indi|cate no |
|00001750| 73 65 6c 65 63 74 69 6f | 6e 20 77 61 73 0d 2d 2d |selectio|n was.--|
|00001760| 20 6d 61 64 65 2c 20 6f | 72 20 61 20 73 69 6e 67 | made, o|r a sing|
|00001770| 6c 65 20 69 6e 74 65 67 | 65 72 20 69 6e 64 69 63 |le integ|er indic|
|00001780| 61 74 69 6e 67 20 61 20 | 73 65 6c 65 63 74 69 6f |ating a |selectio|
|00001790| 6e 20 66 72 6f 6d 20 74 | 68 65 0d 2d 2d 20 6d 61 |n from t|he.-- ma|
|000017a0| 69 6e 20 6d 65 6e 75 2c | 20 6f 72 20 61 20 70 61 |in menu,| or a pa|
|000017b0| 69 72 20 6f 66 20 69 6e | 74 65 67 65 72 73 20 74 |ir of in|tegers t|
|000017c0| 6f 20 69 6e 64 69 63 61 | 74 65 20 61 20 73 65 6c |o indica|te a sel|
|000017d0| 65 63 74 69 6f 6e 0d 2d | 2d 20 66 72 6f 6d 20 61 |ection.-|- from a|
|000017e0| 20 73 75 62 6d 65 6e 75 | 2e 0d 2d 2d 0d 2d 2d 20 | submenu|..--.-- |
|000017f0| a5 58 46 43 4e 20 4c 69 | 73 74 43 6f 64 65 63 73 |.XFCN Li|stCodecs|
|00001800| 28 53 68 6f 77 41 6c 6c | 29 0d 2d 2d 20 72 65 74 |(ShowAll|).-- ret|
|00001810| 75 72 6e 73 20 61 20 6c | 69 73 74 20 6f 66 20 61 |urns a l|ist of a|
|00001820| 6c 6c 20 74 68 65 20 51 | 75 69 63 6b 54 69 6d 65 |ll the Q|uickTime|
|00001830| 20 63 6f 64 65 63 73 20 | 28 69 6d 61 67 65 20 63 | codecs |(image c|
|00001840| 6f 6d 70 72 65 73 73 6f | 72 73 2f 0d 2d 2d 20 64 |ompresso|rs/.-- d|
|00001850| 65 63 6f 6d 70 72 65 73 | 73 6f 72 73 29 20 63 75 |ecompres|sors) cu|
|00001860| 72 72 65 6e 74 6c 79 20 | 69 6e 73 74 61 6c 6c 65 |rrently |installe|
|00001870| 64 2e 20 54 68 65 20 66 | 69 72 73 74 20 66 6f 75 |d. The f|irst fou|
|00001880| 72 20 63 68 61 72 61 63 | 74 65 72 73 20 6f 66 0d |r charac|ters of.|
|00001890| 2d 2d 20 65 61 63 68 20 | 6c 69 6e 65 20 75 6e 69 |-- each |line uni|
|000018a0| 71 75 65 6c 79 20 69 64 | 65 6e 74 69 66 79 20 74 |quely id|entify t|
|000018b0| 68 65 20 63 6f 6d 70 72 | 65 73 73 69 6f 6e 20 61 |he compr|ession a|
|000018c0| 6c 67 6f 72 69 74 68 6d | 2c 20 74 68 65 20 72 65 |lgorithm|, the re|
|000018d0| 73 74 0d 2d 2d 20 69 73 | 20 74 68 65 20 64 65 73 |st.-- is| the des|
|000018e0| 63 72 69 70 74 69 76 65 | 20 6e 61 6d 65 2e 20 53 |criptive| name. S|
|000018f0| 68 6f 77 41 6c 6c 20 69 | 73 20 74 72 75 65 20 74 |howAll i|s true t|
|00001900| 6f 20 6c 69 73 74 20 61 | 6c 6c 20 63 6f 64 65 63 |o list a|ll codec|
|00001910| 0d 2d 2d 20 63 6f 6d 70 | 6f 6e 65 6e 74 73 20 61 |.-- comp|onents a|
|00001920| 6e 64 20 74 68 65 69 72 | 20 6e 61 6d 65 73 2c 20 |nd their| names, |
|00001930| 66 61 6c 73 65 20 74 6f | 20 6c 69 73 74 20 6f 6e |false to| list on|
|00001940| 6c 79 20 6f 6e 65 20 66 | 6f 72 20 65 61 63 68 0d |ly one f|or each.|
|00001950| 2d 2d 20 63 6f 6d 70 72 | 65 73 73 69 6f 6e 20 61 |-- compr|ession a|
|00001960| 6c 67 6f 72 69 74 68 6d | 20 61 6e 64 20 74 68 65 |lgorithm| and the|
|00001970| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 61 6c 67 | name of| the alg|
|00001980| 6f 72 69 74 68 6d 20 72 | 61 74 68 65 72 20 74 68 |orithm r|ather th|
|00001990| 61 6e 0d 2d 2d 20 74 68 | 61 74 20 6f 66 20 74 68 |an.-- th|at of th|
|000019a0| 65 20 63 6f 64 65 63 2e | 0d 2d 2d 0d 2d 2d 20 a5 |e codec.|.--.-- .|
|000019b0| 58 46 43 4e 20 47 65 74 | 43 6f 64 65 63 46 6c 61 |XFCN Get|CodecFla|
|000019c0| 67 73 28 43 6f 64 65 63 | 54 79 70 65 2c 20 43 6f |gs(Codec|Type, Co|
|000019d0| 64 65 63 43 6f 6d 70 6f | 6e 65 6e 74 29 0d 2d 2d |decCompo|nent).--|
|000019e0| 20 72 65 74 75 72 6e 73 | 20 69 6e 66 6f 72 6d 61 | returns| informa|
|000019f0| 74 69 6f 6e 20 66 6c 61 | 67 73 20 61 62 6f 75 74 |tion fla|gs about|
|00001a00| 20 61 20 63 6f 64 65 63 | 2e 20 43 6f 64 65 63 54 | a codec|. CodecT|
|00001a10| 79 70 65 20 69 73 0d 2d | 2d 20 74 68 65 20 66 6f |ype is.-|- the fo|
|00001a20| 75 72 2d 63 68 61 72 61 | 63 74 65 72 20 63 6f 64 |ur-chara|cter cod|
|00001a30| 65 20 69 64 65 6e 74 69 | 66 79 69 6e 67 20 74 68 |e identi|fying th|
|00001a40| 65 20 63 6f 6d 70 72 65 | 73 73 69 6f 6e 0d 2d 2d |e compre|ssion.--|
|00001a50| 20 61 6c 67 6f 72 69 74 | 68 6d 2c 20 61 6e 64 20 | algorit|hm, and |
|00001a60| 43 6f 64 65 63 43 6f 6d | 70 6f 6e 65 6e 74 20 69 |CodecCom|ponent i|
|00001a70| 73 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 73 70 65 |s one of| the spe|
|00001a80| 63 69 61 6c 0d 2d 2d 20 | 76 61 6c 75 65 73 20 69 |cial.-- |values i|
|00001a90| 64 65 6e 74 69 66 79 69 | 6e 67 20 65 20 67 20 74 |dentifyi|ng e g t|
|00001aa0| 68 65 20 6f 6e 65 20 74 | 68 61 74 20 67 69 76 65 |he one t|hat give|
|00001ab0| 73 20 74 68 65 20 62 65 | 73 74 20 71 75 61 6c 69 |s the be|st quali|
|00001ac0| 74 79 2c 0d 2d 2d 20 74 | 68 65 20 62 65 73 74 20 |ty,.-- t|he best |
|00001ad0| 63 6f 6d 70 72 65 73 73 | 69 6f 6e 2c 20 6f 72 20 |compress|ion, or |
|00001ae0| 77 6f 72 6b 73 20 74 68 | 65 20 66 61 73 74 65 73 |works th|e fastes|
|00001af0| 74 20 28 64 65 66 61 75 | 6c 74 20 69 73 0d 2d 2d |t (defau|lt is.--|
|00001b00| 20 61 6e 79 43 6f 64 65 | 63 29 2e 0d 2d 2d 20 54 | anyCode|c)..-- T|
|00001b10| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 72 65 73 75 |he funct|ion resu|
|00001b20| 6c 74 20 63 6f 6e 73 69 | 73 74 73 20 6f 66 20 74 |lt consi|sts of t|
|00001b30| 68 72 65 65 20 33 32 2d | 62 69 74 20 62 69 6e 61 |hree 32-|bit bina|
|00001b40| 72 79 0d 2d 2d 20 69 6e | 74 65 67 65 72 73 2c 20 |ry.-- in|tegers, |
|00001b50| 6f 6e 65 20 74 6f 20 61 | 20 6c 69 6e 65 3b 20 74 |one to a| line; t|
|00001b60| 68 65 20 66 69 72 73 74 | 20 63 6f 72 72 65 73 70 |he first| corresp|
|00001b70| 6f 6e 64 73 20 74 6f 20 | 74 68 65 0d 2d 2d 20 63 |onds to |the.-- c|
|00001b80| 6f 6d 70 72 65 73 73 46 | 6c 61 67 73 20 66 69 65 |ompressF|lags fie|
|00001b90| 6c 64 20 72 65 74 75 72 | 6e 65 64 20 62 79 20 74 |ld retur|ned by t|
|00001ba0| 68 65 20 47 65 74 43 6f | 64 65 63 49 6e 66 6f 20 |he GetCo|decInfo |
|00001bb0| 49 6d 61 67 65 20 43 6f | 6d 70 72 65 73 73 69 6f |Image Co|mpressio|
|00001bc0| 6e 0d 2d 2d 20 4d 61 6e | 61 67 65 72 20 72 6f 75 |n.-- Man|ager rou|
|00001bd0| 74 69 6e 65 2c 20 74 68 | 65 20 73 65 63 6f 6e 64 |tine, th|e second|
|00001be0| 20 69 73 20 74 68 65 20 | 64 65 63 6f 6d 70 72 65 | is the |decompre|
|00001bf0| 73 73 46 6c 61 67 73 2c | 20 61 6e 64 20 74 68 65 |ssFlags,| and the|
|00001c00| 0d 2d 2d 20 74 68 69 72 | 64 20 69 73 20 74 68 65 |.-- thir|d is the|
|00001c10| 20 66 6f 72 6d 61 74 46 | 6c 61 67 73 2e 0d 2d 2d | formatF|lags..--|
|00001c20| 0d 2d 2d 20 a5 58 46 43 | 4e 20 50 69 63 74 75 72 |.-- .XFC|N Pictur|
|00001c30| 65 46 72 61 6d 65 28 54 | 68 65 50 69 63 74 75 72 |eFrame(T|hePictur|
|00001c40| 65 29 0d 2d 2d 20 72 65 | 74 75 72 6e 73 20 74 68 |e).-- re|turns th|
|00001c50| 65 20 62 6f 75 6e 64 69 | 6e 67 20 72 65 63 74 61 |e boundi|ng recta|
|00001c60| 6e 67 6c 65 20 66 6f 72 | 20 61 20 51 75 69 63 6b |ngle for| a Quick|
|00001c70| 44 72 61 77 20 70 69 63 | 74 75 72 65 2e 0d 2d 2d |Draw pic|ture..--|
|00001c80| 0d 2d 2d 20 a5 58 46 43 | 4e 20 4e 65 77 4d 6f 76 |.-- .XFC|N NewMov|
|00001c90| 69 65 46 72 6f 6d 46 69 | 6c 65 28 4d 6f 76 69 65 |ieFromFi|le(Movie|
|00001ca0| 46 69 6c 65 4e 61 6d 65 | 2c 20 46 6c 61 67 73 29 |FileName|, Flags)|
|00001cb0| 0d 2d 2d 20 6c 6f 61 64 | 73 20 61 20 6d 6f 76 69 |.-- load|s a movi|
|00001cc0| 65 20 69 6e 74 6f 20 6d | 65 6d 6f 72 79 20 66 72 |e into m|emory fr|
|00001cd0| 6f 6d 20 61 20 6d 6f 76 | 69 65 20 72 65 73 6f 75 |om a mov|ie resou|
|00001ce0| 72 63 65 20 61 74 74 61 | 63 68 65 64 0d 2d 2d 20 |rce atta|ched.-- |
|00001cf0| 74 6f 20 61 20 6d 6f 76 | 69 65 20 66 69 6c 65 2e |to a mov|ie file.|
|00001d00| 20 4d 6f 76 69 65 46 69 | 6c 65 4e 61 6d 65 20 69 | MovieFi|leName i|
|00001d10| 73 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |s the na|me of th|
|00001d20| 65 20 6d 6f 76 69 65 0d | 2d 2d 20 66 69 6c 65 2c |e movie.|-- file,|
|00001d30| 20 61 6e 64 20 46 6c 61 | 67 73 20 69 73 20 74 68 | and Fla|gs is th|
|00001d40| 65 20 69 6e 74 65 67 65 | 72 20 72 65 70 72 65 73 |e intege|r repres|
|00001d50| 65 6e 74 61 74 69 6f 6e | 20 6f 66 20 74 68 65 0d |entation| of the.|
|00001d60| 2d 2d 20 6e 65 77 4d 6f | 76 69 65 46 6c 61 67 73 |-- newMo|vieFlags|
|00001d70| 20 61 72 67 75 6d 65 6e | 74 20 70 61 73 73 65 64 | argumen|t passed|
|00001d80| 20 74 6f 20 74 68 65 20 | 4e 65 77 4d 6f 76 69 65 | to the |NewMovie|
|00001d90| 46 72 6f 6d 46 69 6c 65 | 0d 2d 2d 20 4d 6f 76 69 |FromFile|.-- Movi|
|00001da0| 65 20 54 6f 6f 6c 62 6f | 78 20 72 6f 75 74 69 6e |e Toolbo|x routin|
|00001db0| 65 2e 0d 2d 2d 0d 2d 2d | 20 a5 58 46 43 4e 20 50 |e..--.--| .XFCN P|
|00001dc0| 75 74 46 69 6c 65 28 50 | 72 6f 6d 70 74 2c 20 44 |utFile(P|rompt, D|
|00001dd0| 65 66 61 75 6c 74 46 69 | 6c 65 4e 61 6d 65 29 0d |efaultFi|leName).|
|00001de0| 2d 2d 20 62 72 69 6e 67 | 73 20 75 70 20 74 68 65 |-- bring|s up the|
|00001df0| 20 73 74 61 6e 64 61 72 | 64 20 70 75 74 66 69 6c | standar|d putfil|
|00001e00| 65 20 64 69 61 6c 6f 67 | 2e 20 54 68 65 20 6f 6e |e dialog|. The on|
|00001e10| 6c 79 20 72 65 61 73 6f | 6e 0d 2d 2d 20 66 6f 72 |ly reaso|n.-- for|
|00001e20| 20 75 73 69 6e 67 20 74 | 68 69 73 20 69 6e 73 74 | using t|his inst|
|00001e30| 65 61 64 20 6f 66 20 74 | 68 65 20 d2 61 73 6b 20 |ead of t|he .ask |
|00001e40| 66 69 6c 65 d3 20 63 6f | 6d 6d 61 6e 64 20 69 6e |file. co|mmand in|
|00001e50| 0d 2d 2d 20 48 79 70 65 | 72 43 61 72 64 20 32 2e |.-- Hype|rCard 2.|
|00001e60| 30 2f 32 2e 31 20 69 73 | 20 62 65 63 61 75 73 65 |0/2.1 is| because|
|00001e70| 2c 20 75 6e 64 65 72 20 | 53 79 73 74 65 6d 20 37 |, under |System 7|
|00001e80| 2c 20 74 68 65 20 6c 61 | 74 74 65 72 0d 2d 2d 20 |, the la|tter.-- |
|00001e90| 64 6f 65 73 6e d5 74 20 | 75 73 65 20 74 68 65 20 |doesn.t |use the |
|00001ea0| 6e 65 77 20 73 74 61 6e | 64 61 72 64 20 64 69 61 |new stan|dard dia|
|00001eb0| 6c 6f 67 20 77 69 74 68 | 20 74 68 65 20 d2 4e 65 |log with| the .Ne|
|00001ec0| 77 20 46 6f 6c 64 65 72 | d3 0d 2d 2d 20 62 75 74 |w Folder|..-- but|
|00001ed0| 74 6f 6e 2e 0d 2d 2d 0d | 2d 2d 20 a5 58 43 4d 44 |ton..--.|-- .XCMD|
|00001ee0| 20 43 72 65 61 74 65 52 | 65 73 46 69 6c 65 20 52 | CreateR|esFile R|
|00001ef0| 65 73 46 69 6c 65 4e 61 | 6d 65 2c 20 46 69 6c 65 |esFileNa|me, File|
|00001f00| 54 79 70 65 2c 0d 2d 2d | 20 46 69 6c 65 43 72 65 |Type,.--| FileCre|
|00001f10| 61 74 6f 72 2c 20 44 65 | 6c 65 74 65 45 78 69 73 |ator, De|leteExis|
|00001f20| 74 69 6e 67 0d 2d 2d 20 | 63 72 65 61 74 65 73 20 |ting.-- |creates |
|00001f30| 61 20 6e 65 77 20 72 65 | 73 6f 75 72 63 65 20 66 |a new re|source f|
|00001f40| 69 6c 65 20 77 69 74 68 | 20 74 68 65 20 67 69 76 |ile with| the giv|
|00001f50| 65 6e 20 6e 61 6d 65 2c | 0d 2d 2d 20 66 69 6c 65 |en name,|.-- file|
|00001f60| 20 74 79 70 65 20 61 6e | 64 20 66 69 6c 65 20 63 | type an|d file c|
|00001f70| 72 65 61 74 6f 72 20 63 | 6f 64 65 2e 20 44 65 6c |reator c|ode. Del|
|00001f80| 65 74 65 45 78 69 73 74 | 69 6e 67 20 69 73 0d 2d |eteExist|ing is.-|
|00001f90| 2d 20 74 72 75 65 20 74 | 6f 20 64 65 6c 65 74 65 |- true t|o delete|
|00001fa0| 20 61 6e 79 20 65 78 69 | 73 74 69 6e 67 20 66 69 | any exi|sting fi|
|00001fb0| 6c 65 20 77 69 74 68 20 | 74 68 65 20 73 61 6d 65 |le with |the same|
|00001fc0| 20 6e 61 6d 65 2c 0d 2d | 2d 20 66 61 6c 73 65 20 | name,.-|- false |
|00001fd0| 74 6f 20 72 65 74 75 72 | 6e 20 61 6e 20 65 72 72 |to retur|n an err|
|00001fe0| 6f 72 20 69 66 20 74 68 | 65 20 66 69 6c 65 20 61 |or if th|e file a|
|00001ff0| 6c 72 65 61 64 79 20 65 | 78 69 73 74 73 2e 0d 2d |lready e|xists..-|
|00002000| 2d 0d 2d 2d 20 a5 58 43 | 4d 44 20 41 64 64 52 65 |-.-- .XC|MD AddRe|
|00002010| 73 6f 75 72 63 65 20 54 | 68 65 52 65 73 46 69 6c |source T|heResFil|
|00002020| 65 2c 20 54 68 65 52 65 | 73 6f 75 72 63 65 2c 20 |e, TheRe|source, |
|00002030| 54 68 65 52 65 73 54 79 | 70 65 2c 0d 2d 2d 20 54 |TheResTy|pe,.-- T|
|00002040| 68 65 52 65 73 49 44 2c | 09 52 65 73 4e 61 6d 65 |heResID,|.ResName|
|00002050| 2c 20 52 65 73 41 74 74 | 72 69 62 75 74 65 73 0d |, ResAtt|ributes.|
|00002060| 2d 2d 20 61 64 64 73 20 | 61 20 6e 65 77 20 72 65 |-- adds |a new re|
|00002070| 73 6f 75 72 63 65 20 74 | 6f 20 61 20 66 69 6c 65 |source t|o a file|
|00002080| 20 6f 70 65 6e 65 64 20 | 77 69 74 68 20 4f 70 65 | opened |with Ope|
|00002090| 6e 52 65 73 46 69 6c 65 | 2c 0d 2d 2d 20 77 69 74 |nResFile|,.-- wit|
|000020a0| 68 20 74 68 65 20 73 70 | 65 63 69 66 69 65 64 20 |h the sp|ecified |
|000020b0| 74 79 70 65 2c 20 49 44 | 2c 20 6e 61 6d 65 20 61 |type, ID|, name a|
|000020c0| 6e 64 20 61 74 74 72 69 | 62 75 74 65 73 2e 0d 2d |nd attri|butes..-|
|000020d0| 2d 0d 2d 2d 20 a5 58 43 | 4d 44 20 55 70 64 61 74 |-.-- .XC|MD Updat|
|000020e0| 65 52 65 73 46 69 6c 65 | 20 54 68 65 52 65 73 46 |eResFile| TheResF|
|000020f0| 69 6c 65 0d 2d 2d 20 66 | 6c 75 73 68 65 73 20 74 |ile.-- f|lushes t|
|00002100| 6f 20 64 69 73 6b 20 61 | 6c 6c 20 63 68 61 6e 67 |o disk a|ll chang|
|00002110| 65 73 20 70 72 65 76 69 | 6f 75 73 6c 79 20 6d 61 |es previ|ously ma|
|00002120| 64 65 20 74 6f 20 61 20 | 72 65 73 6f 75 72 63 65 |de to a |resource|
|00002130| 20 66 69 6c 65 2e 0d 2d | 2d 0d 2d 2d 20 a5 58 46 | file..-|-.-- .XF|
|00002140| 43 4e 20 47 65 74 48 61 | 6e 64 6c 65 53 69 7a 65 |CN GetHa|ndleSize|
|00002150| 28 54 68 65 48 61 6e 64 | 6c 65 29 0d 2d 2d 20 72 |(TheHand|le).-- r|
|00002160| 65 74 75 72 6e 73 20 74 | 68 65 20 73 69 7a 65 20 |eturns t|he size |
|00002170| 69 6e 20 62 79 74 65 73 | 20 6f 66 20 61 20 72 65 |in bytes| of a re|
|00002180| 6c 6f 63 61 74 61 62 6c | 65 20 6d 65 6d 6f 72 79 |locatabl|e memory|
|00002190| 20 62 6c 6f 63 6b 2c 0d | 2d 2d 20 67 69 76 65 6e | block,.|-- given|
|000021a0| 20 61 20 68 61 6e 64 6c | 65 20 74 6f 20 69 74 2e | a handl|e to it.|
|000021b0| 0d 2d 2d 0d 2d 2d 20 a5 | 58 43 4d 44 20 44 69 73 |.--.-- .|XCMD Dis|
|000021c0| 70 6f 73 65 4d 6f 76 69 | 65 20 54 68 65 4d 6f 76 |poseMovi|e TheMov|
|000021d0| 69 65 0d 2d 2d 20 66 72 | 65 65 73 20 74 68 65 20 |ie.-- fr|ees the |
|000021e0| 6d 65 6d 6f 72 79 20 6f | 63 63 75 70 69 65 64 20 |memory o|ccupied |
|000021f0| 62 79 20 61 20 51 75 69 | 63 6b 54 69 6d 65 20 6d |by a Qui|ckTime m|
|00002200| 6f 76 69 65 2e 0d 2d 2d | 0d 2d 2d 20 a5 58 46 43 |ovie..--|.-- .XFC|
|00002210| 4e 20 47 65 74 4d 6f 76 | 69 65 54 69 6d 65 53 63 |N GetMov|ieTimeSc|
|00002220| 61 6c 65 28 54 68 65 4d | 6f 76 69 65 29 0d 2d 2d |ale(TheM|ovie).--|
|00002230| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 74 69 6d | returns| the tim|
|00002240| 65 20 73 63 61 6c 65 20 | 28 6d 61 78 69 6d 75 6d |e scale |(maximum|
|00002250| 20 6e 75 6d 62 65 72 20 | 6f 66 20 65 76 65 6e 74 | number |of event|
|00002260| 73 20 70 65 72 0d 2d 2d | 20 73 65 63 6f 6e 64 20 |s per.--| second |
|00002270| 74 68 61 74 20 63 61 6e | 20 62 65 20 64 69 73 74 |that can| be dist|
|00002280| 69 6e 67 75 69 73 68 65 | 64 29 20 6f 66 20 61 20 |inguishe|d) of a |
|00002290| 51 75 69 63 6b 54 69 6d | 65 20 6d 6f 76 69 65 2e |QuickTim|e movie.|
|000022a0| 0d 2d 2d 0d 2d 2d 20 a5 | 58 46 43 4e 20 47 65 74 |.--.-- .|XFCN Get|
|000022b0| 4d 6f 76 69 65 50 69 63 | 74 28 54 68 65 4d 6f 76 |MoviePic|t(TheMov|
|000022c0| 69 65 2c 20 54 68 65 54 | 69 6d 65 29 0d 2d 2d 20 |ie, TheT|ime).-- |
|000022d0| 72 65 74 75 72 6e 73 20 | 61 20 51 75 69 63 6b 44 |returns |a QuickD|
|000022e0| 72 61 77 20 70 69 63 74 | 75 72 65 20 72 65 70 72 |raw pict|ure repr|
|000022f0| 65 73 65 6e 74 69 6e 67 | 20 74 68 65 20 69 6d 61 |esenting| the ima|
|00002300| 67 65 0d 2d 2d 20 74 68 | 61 74 20 77 6f 75 6c 64 |ge.-- th|at would|
|00002310| 20 62 65 20 64 69 73 70 | 6c 61 79 65 64 20 62 79 | be disp|layed by|
|00002320| 20 74 68 65 20 6d 6f 76 | 69 65 20 61 74 20 74 68 | the mov|ie at th|
|00002330| 65 20 73 70 65 63 69 66 | 69 65 64 0d 2d 2d 20 74 |e specif|ied.-- t|
|00002340| 69 6d 65 20 28 69 6e 20 | 75 6e 69 74 73 20 6f 66 |ime (in |units of|
|00002350| 20 69 74 73 20 74 69 6d | 65 20 73 63 61 6c 65 29 | its tim|e scale)|
|00002360| 2e 0d 2d 2d 0d 2d 2d 20 | a5 58 46 43 4e 20 47 65 |..--.-- |.XFCN Ge|
|00002370| 74 4d 6f 76 69 65 4e 65 | 78 74 49 6e 74 65 72 65 |tMovieNe|xtIntere|
|00002380| 73 74 69 6e 67 54 69 6d | 65 28 54 68 65 4d 6f 76 |stingTim|e(TheMov|
|00002390| 69 65 2c 20 49 6e 74 65 | 72 65 73 74 69 6e 67 54 |ie, Inte|restingT|
|000023a0| 69 6d 65 46 6c 61 67 73 | 2c 0d 2d 2d 09 4d 65 64 |imeFlags|,.--.Med|
|000023b0| 69 61 54 79 70 65 73 2c | 20 46 72 6f 6d 54 69 6d |iaTypes,| FromTim|
|000023c0| 65 2c 20 46 6f 72 77 61 | 72 64 73 29 0d 2d 2d 20 |e, Forwa|rds).-- |
|000023d0| 6c 65 74 73 20 79 6f 75 | 20 73 65 61 72 63 68 20 |lets you| search |
|000023e0| 61 20 6d 6f 76 69 65 20 | 66 6f 72 20 65 76 65 6e |a movie |for even|
|000023f0| 74 73 20 6f 66 20 70 61 | 72 74 69 63 75 6c 61 72 |ts of pa|rticular|
|00002400| 20 74 79 70 65 73 2e 20 | 4d 65 64 69 61 54 79 70 | types. |MediaTyp|
|00002410| 65 73 0d 2d 2d 20 73 70 | 65 63 69 66 69 65 73 20 |es.-- sp|ecifies |
|00002420| 74 68 65 20 74 79 70 65 | 73 20 6f 66 20 74 68 65 |the type|s of the|
|00002430| 20 6d 65 64 69 61 20 74 | 6f 20 73 65 61 72 63 68 | media t|o search|
|00002440| 2c 20 61 73 20 74 68 65 | 20 63 6f 6e 63 61 74 65 |, as the| concate|
|00002450| 6e 61 74 69 6f 6e 0d 2d | 2d 20 6f 66 20 74 68 65 |nation.-|- of the|
|00002460| 20 66 6f 75 72 2d 63 68 | 61 72 61 63 74 65 72 20 | four-ch|aracter |
|00002470| 6d 65 64 69 61 20 74 79 | 70 65 73 20 28 65 20 67 |media ty|pes (e g|
|00002480| 20 22 76 69 64 65 22 20 | 66 6f 72 20 76 69 64 65 | "vide" |for vide|
|00002490| 6f 2c 20 22 73 6f 75 6e | 22 0d 2d 2d 20 66 6f 72 |o, "soun|".-- for|
|000024a0| 20 73 6f 75 6e 64 20 74 | 72 61 63 6b 73 29 2c 20 | sound t|racks), |
|000024b0| 46 72 6f 6d 54 69 6d 65 | 20 69 73 20 74 68 65 20 |FromTime| is the |
|000024c0| 74 69 6d 65 20 66 72 6f | 6d 20 77 68 69 63 68 20 |time fro|m which |
|000024d0| 74 6f 20 73 65 61 72 63 | 68 2c 0d 2d 2d 20 61 6e |to searc|h,.-- an|
|000024e0| 64 20 46 6f 72 77 61 72 | 64 73 20 69 73 20 74 72 |d Forwar|ds is tr|
|000024f0| 75 65 20 74 6f 20 73 65 | 61 72 63 68 20 66 6f 72 |ue to se|arch for|
|00002500| 77 61 72 64 73 2c 20 66 | 61 6c 73 65 20 74 6f 20 |wards, f|alse to |
|00002510| 6c 6f 6f 6b 20 62 61 63 | 6b 77 61 72 64 73 2e 0d |look bac|kwards..|
|00002520| 2d 2d 20 54 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |-- The f|unction |
|00002530| 72 65 73 75 6c 74 20 63 | 6f 6e 74 61 69 6e 73 20 |result c|ontains |
|00002540| 74 77 6f 20 6e 75 6d 62 | 65 72 73 2c 20 6f 6e 65 |two numb|ers, one|
|00002550| 20 74 6f 20 61 20 6c 69 | 6e 65 3a 20 74 68 65 20 | to a li|ne: the |
|00002560| 66 69 72 73 74 0d 2d 2d | 20 69 73 20 74 68 65 20 |first.--| is the |
|00002570| 74 69 6d 65 20 6f 66 20 | 74 68 65 20 65 76 65 6e |time of |the even|
|00002580| 74 20 66 6f 75 6e 64 2c | 20 61 6e 64 20 74 68 65 |t found,| and the|
|00002590| 20 73 65 63 6f 6e 64 20 | 69 73 20 69 74 73 20 64 | second |is its d|
|000025a0| 75 72 61 74 69 6f 6e 3b | 0d 2d 2d 20 69 66 20 6e |uration;|.-- if n|
|000025b0| 6f 20 6d 61 74 63 68 69 | 6e 67 20 65 76 65 6e 74 |o matchi|ng event|
|000025c0| 20 63 6f 75 6c 64 20 62 | 65 20 66 6f 75 6e 64 2c | could b|e found,|
|000025d0| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 20 72 65 | the fun|ction re|
|000025e0| 73 75 6c 74 20 69 73 20 | 74 68 65 0d 2d 2d 20 65 |sult is |the.-- e|
|000025f0| 6d 70 74 79 20 73 74 72 | 69 6e 67 2e 0d 2d 2d 0d |mpty str|ing..--.|
|00002600| 2d 2d 20 a5 58 43 4d 44 | 20 44 69 73 70 6f 73 65 |-- .XCMD| Dispose|
|00002610| 50 69 63 74 75 72 65 20 | 54 68 65 50 69 63 74 75 |Picture |ThePictu|
|00002620| 72 65 0d 2d 2d 20 66 72 | 65 65 73 20 74 68 65 20 |re.-- fr|ees the |
|00002630| 6d 65 6d 6f 72 79 20 6f | 63 63 75 70 69 65 64 20 |memory o|ccupied |
|00002640| 62 79 20 61 20 51 75 69 | 63 6b 44 72 61 77 20 70 |by a Qui|ckDraw p|
|00002650| 69 63 74 75 72 65 2e 0d | 2d 2d 0d 2d 2d 20 a5 58 |icture..|--.-- .X|
|00002660| 43 4d 44 20 50 69 63 74 | 75 72 65 54 6f 46 69 6c |CMD Pict|ureToFil|
|00002670| 65 20 54 68 65 50 69 63 | 74 75 72 65 2c 20 54 68 |e ThePic|ture, Th|
|00002680| 65 46 69 6c 65 4e 61 6d | 65 2c 20 53 69 67 6e 61 |eFileNam|e, Signa|
|00002690| 74 75 72 65 0d 2d 2d 20 | 77 72 69 74 65 73 20 61 |ture.-- |writes a|
|000026a0| 20 51 75 69 63 6b 44 72 | 61 77 20 70 69 63 74 75 | QuickDr|aw pictu|
|000026b0| 72 65 20 74 6f 20 64 69 | 73 6b 20 61 73 20 61 20 |re to di|sk as a |
|000026c0| 50 49 43 54 20 66 69 6c | 65 2e 20 54 68 65 50 69 |PICT fil|e. ThePi|
|000026d0| 63 74 75 72 65 0d 2d 2d | 20 69 73 20 74 68 65 20 |cture.--| is the |
|000026e0| 68 61 6e 64 6c 65 20 74 | 6f 20 74 68 65 20 70 69 |handle t|o the pi|
|000026f0| 63 74 75 72 65 20 74 6f | 20 62 65 20 77 72 69 74 |cture to| be writ|
|00002700| 74 65 6e 2c 20 54 68 65 | 46 69 6c 65 4e 61 6d 65 |ten, The|FileName|
|00002710| 20 69 73 0d 2d 2d 20 74 | 68 65 20 6e 61 6d 65 20 | is.-- t|he name |
|00002720| 6f 66 20 74 68 65 20 66 | 69 6c 65 20 74 6f 20 63 |of the f|ile to c|
|00002730| 72 65 61 74 65 2c 20 61 | 6e 64 20 53 69 67 6e 61 |reate, a|nd Signa|
|00002740| 74 75 72 65 20 69 73 20 | 74 68 65 20 66 6f 75 72 |ture is |the four|
|00002750| 2d 63 68 61 72 61 63 74 | 65 72 0d 2d 2d 20 63 72 |-charact|er.-- cr|
|00002760| 65 61 74 6f 72 20 63 6f | 64 65 20 74 6f 20 67 69 |eator co|de to gi|
|00002770| 76 65 20 74 6f 20 74 68 | 65 20 66 69 6c 65 2e 0d |ve to th|e file..|
|00002780| 2d 2d 0d 2d 2d 20 a5 58 | 46 43 4e 20 50 69 63 74 |--.-- .X|FCN Pict|
|00002790| 75 72 65 46 72 6f 6d 46 | 69 6c 65 28 54 68 65 46 |ureFromF|ile(TheF|
|000027a0| 69 6c 65 4e 61 6d 65 29 | 0d 2d 2d 20 72 65 61 64 |ileName)|.-- read|
|000027b0| 73 20 74 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |s the co|ntents o|
|000027c0| 66 20 61 20 50 49 43 54 | 20 66 69 6c 65 20 69 6e |f a PICT| file in|
|000027d0| 74 6f 20 6d 65 6d 6f 72 | 79 0d 2d 2d 20 61 6e 64 |to memor|y.-- and|
|000027e0| 20 72 65 74 75 72 6e 73 | 20 61 20 68 61 6e 64 6c | returns| a handl|
|000027f0| 65 20 74 6f 20 74 68 65 | 20 6e 65 77 6c 79 2d 63 |e to the| newly-c|
|00002800| 72 65 61 74 65 64 20 51 | 75 69 63 6b 44 72 61 77 |reated Q|uickDraw|
|00002810| 20 70 69 63 74 75 72 65 | 2e 0d 2d 2d 00 00 00 00 | picture|..--....|
|00002820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002880| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00002890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028a0| 00 01 50 48 00 01 54 76 | 00 01 94 63 00 03 3c 4b |..PH..Tv|...c..<K|
|000028b0| 00 04 21 1f 00 04 22 62 | 00 04 24 c7 00 04 1a 39 |..!..."b|..$....9|
|000028c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a80| 00 00 00 80 4c 49 53 54 | 00 00 08 48 00 00 00 00 |....LIST|...H....|
|00002a90| 00 00 00 01 00 00 08 00 | 00 00 00 02 00 30 00 02 |........|.....0..|
|00002aa0| 00 0b 00 03 c0 00 01 30 | 00 00 00 02 00 00 00 00 |.......0|........|
|00002ab0| 00 00 09 76 00 02 00 00 | 00 00 00 00 00 00 00 00 |...v....|........|
|00002ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b00| 00 00 08 00 50 41 47 45 | 00 00 09 76 00 00 00 00 |....PAGE|...v....|
|00002b10| 00 00 08 48 0c 00 02 06 | 00 00 0b 4b 60 45 24 b1 |...H....|...K`E$.|
|00002b20| f5 18 80 51 48 68 89 b0 | bd cc bb c1 a1 70 23 1f |...QHh..|.....p#.|
|00002b30| 18 74 31 b0 2b 4d 78 2f | 4d 07 49 90 d2 9a 96 d1 |.t1.+Mx/|M.I.....|
|00002b40| a6 d4 09 b4 19 06 39 00 | 00 00 0e c7 20 04 01 40 |......9.|.... ..@|
|00002b50| 22 80 0a 64 d8 00 d6 e0 | 94 03 10 08 62 1d 12 0d |"..d....|....b...|
|00002b60| b2 10 0a 00 c9 c4 ad 0b | 40 4a 01 e0 61 02 20 01 |........|@J..a. .|
|00002b70| 00 1a 42 0c 70 00 20 00 | 00 00 00 00 00 00 00 00 |..B.p. .|........|
|00002b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003300| 00 00 35 00 42 4b 47 44 | 00 00 0a 63 00 00 00 00 |..5.BKGD|...c....|
|00003310| 00 00 00 00 00 00 00 00 | 00 00 00 02 00 00 0a 63 |........|.......c|
|00003320| 00 00 0a 63 00 00 00 00 | 00 00 00 00 00 00 00 00 |...c....|........|
|00003330| 00 00 43 6f 6e 76 65 72 | 73 69 6f 6e 73 00 2d 2d |..Conver|sions.--|
|00003340| 0d 2d 2d 20 44 65 66 69 | 6e 69 74 69 6f 6e 73 20 |.-- Defi|nitions |
|00003350| 6f 66 20 76 61 6c 69 64 | 20 70 69 78 65 6c 20 64 |of valid| pixel d|
|00003360| 65 70 74 68 73 2c 20 74 | 68 65 69 72 20 6e 61 6d |epths, t|heir nam|
|00003370| 65 73 2c 20 62 69 74 20 | 6e 75 6d 62 65 72 73 0d |es, bit |numbers.|
|00003380| 2d 2d 20 61 6e 64 20 63 | 6f 6d 6d 6f 6e 20 6f 72 |-- and c|ommon or|
|00003390| 64 65 72 69 6e 67 0d 2d | 2d 0d 46 75 6e 63 74 69 |dering.-|-.Functi|
|000033a0| 6f 6e 20 50 69 78 65 6c | 44 65 70 74 68 4e 61 6d |on Pixel|DepthNam|
|000033b0| 65 73 0d 2d 2d 20 72 65 | 74 75 72 6e 73 20 61 20 |es.-- re|turns a |
|000033c0| 6c 69 73 74 20 6f 66 20 | 6e 61 6d 65 73 20 6f 66 |list of |names of|
|000033d0| 20 74 68 65 20 76 61 6c | 69 64 20 70 69 78 65 6c | the val|id pixel|
|000033e0| 20 64 65 70 74 68 73 2e | 0d 52 65 74 75 72 6e 20 | depths.|.Return |
|000033f0| c2 0d 22 42 6c 61 63 6b | 20 26 20 77 68 69 74 65 |.."Black| & white|
|00003400| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |" & retu|rn & .."|
|00003410| 34 20 63 6f 6c 6f 75 72 | 73 22 20 26 20 72 65 74 |4 colour|s" & ret|
|00003420| 75 72 6e 20 26 20 c2 0d | 22 31 36 20 63 6f 6c 6f |urn & ..|"16 colo|
|00003430| 75 72 73 22 20 26 20 72 | 65 74 75 72 6e 20 26 20 |urs" & r|eturn & |
|00003440| c2 0d 22 32 35 36 20 63 | 6f 6c 6f 75 72 73 22 20 |.."256 c|olours" |
|00003450| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 54 68 |& return| & .."Th|
|00003460| 6f 75 73 61 6e 64 73 20 | 6f 66 20 63 6f 6c 6f 75 |ousands |of colou|
|00003470| 72 73 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 c2 |rs" & re|turn & .|
|00003480| 0d 22 4d 69 6c 6c 69 6f | 6e 73 20 6f 66 20 63 6f |."Millio|ns of co|
|00003490| 6c 6f 75 72 73 22 20 26 | 20 72 65 74 75 72 6e 20 |lours" &| return |
|000034a0| 26 20 c2 0d 22 4d 69 6c | 6c 69 6f 6e 73 20 6f 66 |& .."Mil|lions of|
|000034b0| 20 63 6f 6c 6f 75 72 73 | 2b 22 20 26 20 72 65 74 | colours|+" & ret|
|000034c0| 75 72 6e 20 26 20 c2 0d | 22 34 20 67 72 65 79 73 |urn & ..|"4 greys|
|000034d0| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |" & retu|rn & .."|
|000034e0| 31 36 20 67 72 65 79 73 | 22 20 26 20 72 65 74 75 |16 greys|" & retu|
|000034f0| 72 6e 20 26 20 c2 0d 22 | 32 35 36 20 67 72 65 79 |rn & .."|256 grey|
|00003500| 73 22 0d 45 6e 64 20 50 | 69 78 65 6c 44 65 70 74 |s".End P|ixelDept|
|00003510| 68 4e 61 6d 65 73 0d 0d | 46 75 6e 63 74 69 6f 6e |hNames..|Function|
|00003520| 20 50 69 78 65 6c 44 65 | 70 74 68 73 0d 2d 2d 20 | PixelDe|pths.-- |
|00003530| 72 65 74 75 72 6e 73 20 | 74 68 65 20 6c 69 73 74 |returns |the list|
|00003540| 20 6f 66 20 76 61 6c 69 | 64 20 70 69 78 65 6c 20 | of vali|d pixel |
|00003550| 64 65 70 74 68 20 76 61 | 6c 75 65 73 2e 0d 52 65 |depth va|lues..Re|
|00003560| 74 75 72 6e 20 c2 0d 22 | 31 22 20 26 20 72 65 74 |turn .."|1" & ret|
|00003570| 75 72 6e 20 26 20 c2 0d | 22 32 22 20 26 20 72 65 |urn & ..|"2" & re|
|00003580| 74 75 72 6e 20 26 20 c2 | 0d 22 34 22 20 26 20 72 |turn & .|."4" & r|
|00003590| 65 74 75 72 6e 20 26 20 | c2 0d 22 38 22 20 26 20 |eturn & |.."8" & |
|000035a0| 72 65 74 75 72 6e 20 26 | 20 c2 0d 22 31 36 22 20 |return &| .."16" |
|000035b0| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 32 34 |& return| & .."24|
|000035c0| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |" & retu|rn & .."|
|000035d0| 33 32 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 c2 |32" & re|turn & .|
|000035e0| 0d 22 33 34 22 20 26 20 | 72 65 74 75 72 6e 20 26 |."34" & |return &|
|000035f0| 20 c2 0d 22 33 36 22 20 | 26 20 72 65 74 75 72 6e | .."36" |& return|
|00003600| 20 26 20 c2 0d 22 34 30 | 22 0d 45 6e 64 20 50 69 | & .."40|".End Pi|
|00003610| 78 65 6c 44 65 70 74 68 | 73 0d 0d 46 75 6e 63 74 |xelDepth|s..Funct|
|00003620| 69 6f 6e 20 50 69 78 65 | 6c 44 65 70 74 68 42 69 |ion Pixe|lDepthBi|
|00003630| 74 73 0d 2d 2d 20 72 65 | 74 75 72 6e 73 20 74 68 |ts.-- re|turns th|
|00003640| 65 20 6c 69 73 74 20 6f | 66 20 62 69 74 20 6e 75 |e list o|f bit nu|
|00003650| 6d 62 65 72 73 20 63 6f | 72 72 65 73 70 6f 6e 64 |mbers co|rrespond|
|00003660| 69 6e 67 0d 2d 2d 20 74 | 6f 20 74 68 65 20 76 61 |ing.-- t|o the va|
|00003670| 6c 69 64 20 70 69 78 65 | 6c 20 64 65 70 74 68 73 |lid pixe|l depths|
|00003680| 2e 0d 52 65 74 75 72 6e | 20 c2 0d 22 33 32 22 20 |..Return| .."32" |
|00003690| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 33 31 |& return| & .."31|
|000036a0| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |" & retu|rn & .."|
|000036b0| 33 30 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 c2 |30" & re|turn & .|
|000036c0| 0d 22 32 39 22 20 26 20 | 72 65 74 75 72 6e 20 26 |."29" & |return &|
|000036d0| 20 c2 0d 22 32 38 22 20 | 26 20 72 65 74 75 72 6e | .."28" |& return|
|000036e0| 20 26 20 c2 0d 22 32 36 | 22 20 26 20 72 65 74 75 | & .."26|" & retu|
|000036f0| 72 6e 20 26 20 c2 0d 22 | 32 37 22 20 26 20 72 65 |rn & .."|27" & re|
|00003700| 74 75 72 6e 20 26 20 c2 | 0d 22 32 34 22 20 26 20 |turn & .|."24" & |
|00003710| 72 65 74 75 72 6e 20 26 | 20 c2 0d 22 32 33 22 20 |return &| .."23" |
|00003720| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 32 32 |& return| & .."22|
|00003730| 22 0d 45 6e 64 20 50 69 | 78 65 6c 44 65 70 74 68 |".End Pi|xelDepth|
|00003740| 42 69 74 73 0d 0d 46 75 | 6e 63 74 69 6f 6e 20 46 |Bits..Fu|nction F|
|00003750| 69 6e 64 4e 75 6d 62 65 | 72 53 75 66 66 69 78 20 |indNumbe|rSuffix |
|00003760| 49 6e 4e 61 6d 65 0d 2d | 2d 20 72 65 63 6f 67 6e |InName.-|- recogn|
|00003770| 69 7a 65 73 20 61 20 6e | 61 6d 65 20 6f 66 20 74 |izes a n|ame of t|
|00003780| 68 65 20 66 6f 72 6d 20 | d2 3c 61 6e 79 74 68 69 |he form |.<anythi|
|00003790| 6e 67 3e 2e 3c 6e 3e d3 | 0d 2d 2d 20 77 68 65 72 |ng>.<n>.|.-- wher|
|000037a0| 65 20 3c 6e 3e 20 69 73 | 20 61 20 73 65 71 75 65 |e <n> is| a seque|
|000037b0| 6e 63 65 20 6f 66 20 64 | 65 63 69 6d 61 6c 20 64 |nce of d|ecimal d|
|000037c0| 69 67 69 74 73 2c 20 61 | 6e 64 0d 2d 2d 20 72 65 |igits, a|nd.-- re|
|000037d0| 74 75 72 6e 73 20 74 68 | 65 20 70 6f 73 69 74 69 |turns th|e positi|
|000037e0| 6f 6e 20 6f 66 20 74 68 | 65 20 64 6f 74 20 73 65 |on of th|e dot se|
|000037f0| 70 61 72 61 74 6f 72 2e | 20 52 65 74 75 72 6e 73 |parator.| Returns|
|00003800| 0d 2d 2d 20 7a 65 72 6f | 20 69 66 20 49 6e 4e 61 |.-- zero| if InNa|
|00003810| 6d 65 20 69 73 20 6e 6f | 74 20 6f 66 20 74 68 69 |me is no|t of thi|
|00003820| 73 20 66 6f 72 6d 2e 0d | 50 75 74 20 74 68 65 20 |s form..|Put the |
|00003830| 6c 65 6e 67 74 68 20 6f | 66 20 49 6e 4e 61 6d 65 |length o|f InName|
|00003840| 20 69 6e 74 6f 20 54 68 | 69 73 50 6f 73 0d 52 65 | into Th|isPos.Re|
|00003850| 70 65 61 74 0d 49 66 20 | 54 68 69 73 50 6f 73 20 |peat.If |ThisPos |
|00003860| 3d 20 30 20 74 68 65 6e | 0d 45 78 69 74 20 52 65 |= 0 then|.Exit Re|
|00003870| 70 65 61 74 0d 45 6e 64 | 20 49 66 0d 47 65 74 20 |peat.End| If.Get |
|00003880| 63 68 61 72 20 54 68 69 | 73 50 6f 73 20 6f 66 20 |char Thi|sPos of |
|00003890| 49 6e 4e 61 6d 65 0d 49 | 66 20 69 74 20 3d 20 22 |InName.I|f it = "|
|000038a0| 2e 22 20 74 68 65 6e 0d | 45 78 69 74 20 52 65 70 |." then.|Exit Rep|
|000038b0| 65 61 74 0d 45 6e 64 20 | 49 66 0d 49 66 20 69 74 |eat.End |If.If it|
|000038c0| 20 3c 20 22 30 22 20 6f | 72 20 69 74 20 3e 20 22 | < "0" o|r it > "|
|000038d0| 39 22 20 74 68 65 6e 0d | 50 75 74 20 30 20 69 6e |9" then.|Put 0 in|
|000038e0| 74 6f 20 54 68 69 73 50 | 6f 73 0d 45 78 69 74 20 |to ThisP|os.Exit |
|000038f0| 52 65 70 65 61 74 0d 45 | 6e 64 20 49 66 0d 53 75 |Repeat.E|nd If.Su|
|00003900| 62 74 72 61 63 74 20 31 | 20 66 72 6f 6d 20 54 68 |btract 1| from Th|
|00003910| 69 73 50 6f 73 0d 45 6e | 64 20 52 65 70 65 61 74 |isPos.En|d Repeat|
|00003920| 0d 52 65 74 75 72 6e 20 | 54 68 69 73 50 6f 73 0d |.Return |ThisPos.|
|00003930| 45 6e 64 20 46 69 6e 64 | 4e 75 6d 62 65 72 53 75 |End Find|NumberSu|
|00003940| 66 66 69 78 0d 0d 46 75 | 6e 63 74 69 6f 6e 20 46 |ffix..Fu|nction F|
|00003950| 69 6c 65 4e 61 6d 65 50 | 61 72 74 20 50 61 74 68 |ileNameP|art Path|
|00003960| 6e 61 6d 65 0d 2d 2d 20 | 72 65 74 75 72 6e 73 20 |name.-- |returns |
|00003970| 50 61 74 68 6e 61 6d 65 | 20 77 69 74 68 20 70 72 |Pathname| with pr|
|00003980| 65 66 69 78 69 6e 67 20 | 76 6f 6c 75 6d 65 20 61 |efixing |volume a|
|00003990| 6e 64 20 66 6f 6c 64 65 | 72 20 6e 61 6d 65 73 20 |nd folde|r names |
|000039a0| 73 74 72 69 70 70 65 64 | 20 6f 66 66 2e 0d 52 65 |stripped| off..Re|
|000039b0| 70 65 61 74 0d 47 65 74 | 20 4f 66 66 73 65 74 28 |peat.Get| Offset(|
|000039c0| 22 3a 22 2c 20 50 61 74 | 68 6e 61 6d 65 29 0d 49 |":", Pat|hname).I|
|000039d0| 66 20 69 74 20 3d 20 30 | 20 6f 72 20 69 74 20 3d |f it = 0| or it =|
|000039e0| 20 74 68 65 20 6c 65 6e | 67 74 68 20 6f 66 20 50 | the len|gth of P|
|000039f0| 61 74 68 6e 61 6d 65 20 | 74 68 65 6e 0d 45 78 69 |athname |then.Exi|
|00003a00| 74 20 52 65 70 65 61 74 | 0d 45 6e 64 20 49 66 0d |t Repeat|.End If.|
|00003a10| 44 65 6c 65 74 65 20 63 | 68 61 72 20 31 20 74 6f |Delete c|har 1 to|
|00003a20| 20 69 74 20 6f 66 20 50 | 61 74 68 6e 61 6d 65 0d | it of P|athname.|
|00003a30| 45 6e 64 20 52 65 70 65 | 61 74 0d 52 65 74 75 72 |End Repe|at.Retur|
|00003a40| 6e 20 50 61 74 68 6e 61 | 6d 65 0d 45 6e 64 20 46 |n Pathna|me.End F|
|00003a50| 69 6c 65 4e 61 6d 65 50 | 61 72 74 0d 0d 4f 6e 20 |ileNameP|art..On |
|00003a60| 41 6c 6c 44 6f 6e 65 0d | 50 6c 61 79 20 22 48 61 |AllDone.|Play "Ha|
|00003a70| 72 70 73 69 63 68 6f 72 | 64 22 20 74 65 6d 70 6f |rpsichor|d" tempo|
|00003a80| 20 32 30 30 20 22 64 20 | 67 65 20 66 23 20 67 22 | 200 "d |ge f# g"|
|00003a90| 0d 45 6e 64 20 41 6c 6c | 44 6f 6e 65 0d 0d 2d 2d |.End All|Done..--|
|00003aa0| 0d 2d 2d 20 70 65 72 66 | 6f 72 6d 20 74 68 65 20 |.-- perf|orm the |
|00003ab0| 63 6f 6e 76 65 72 73 69 | 6f 6e 20 66 75 6e 63 74 |conversi|on funct|
|00003ac0| 69 6f 6e 73 0d 2d 2d 0d | 0d 4f 6e 20 43 6f 6e 76 |ions.--.|.On Conv|
|00003ad0| 65 72 74 50 49 43 53 74 | 6f 4d 6f 76 69 65 0d 50 |ertPICSt|oMovie.P|
|00003ae0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 43 6c |ut empty| into Cl|
|00003af0| 65 61 6e 75 70 0d 47 6f | 20 74 6f 20 63 61 72 64 |eanup.Go| to card|
|00003b00| 20 69 64 20 33 37 38 33 | 20 2d 2d 20 72 65 6d 69 | id 3783| -- remi|
|00003b10| 6e 64 20 75 73 65 72 20 | 61 62 6f 75 74 20 63 6f |nd user |about co|
|00003b20| 6d 70 72 65 73 73 69 6f | 6e 20 73 65 74 74 69 6e |mpressio|n settin|
|00003b30| 67 73 0d 41 6e 73 77 65 | 72 20 66 69 6c 65 20 22 |gs.Answe|r file "|
|00003b40| 53 65 6c 65 63 74 20 50 | 49 43 53 20 66 69 6c 65 |Select P|ICS file|
|00003b50| 20 74 6f 20 63 6f 6e 76 | 65 72 74 3a 22 20 6f 66 | to conv|ert:" of|
|00003b60| 20 74 79 70 65 20 22 50 | 49 43 53 22 0d 49 66 20 | type "P|ICS".If |
|00003b70| 69 74 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |it is em|pty then|
|00003b80| 0d 44 6f 20 43 6c 65 61 | 6e 75 70 0d 45 78 69 74 |.Do Clea|nup.Exit|
|00003b90| 20 43 6f 6e 76 65 72 74 | 50 49 43 53 74 6f 4d 6f | Convert|PICStoMo|
|00003ba0| 76 69 65 0d 45 6e 64 20 | 49 66 0d 50 75 74 20 69 |vie.End |If.Put i|
|00003bb0| 74 20 69 6e 74 6f 20 50 | 49 43 53 66 69 6c 65 4e |t into P|ICSfileN|
|00003bc0| 61 6d 65 0d 41 73 6b 20 | 66 69 6c 65 20 22 4d 6f |ame.Ask |file "Mo|
|00003bd0| 76 69 65 20 66 69 6c 65 | 20 74 6f 20 63 72 65 61 |vie file| to crea|
|00003be0| 74 65 3f 22 0d 49 66 20 | 69 74 20 69 73 20 65 6d |te?".If |it is em|
|00003bf0| 70 74 79 20 74 68 65 6e | 0d 44 6f 20 43 6c 65 61 |pty then|.Do Clea|
|00003c00| 6e 75 70 0d 45 78 69 74 | 20 43 6f 6e 76 65 72 74 |nup.Exit| Convert|
|00003c10| 50 49 43 53 74 6f 4d 6f | 76 69 65 0d 45 6e 64 20 |PICStoMo|vie.End |
|00003c20| 49 66 0d 50 75 74 20 69 | 74 20 69 6e 74 6f 20 4d |If.Put i|t into M|
|00003c30| 6f 76 69 65 46 69 6c 65 | 4e 61 6d 65 0d 47 65 74 |ovieFile|Name.Get|
|00003c40| 20 4f 70 65 6e 52 65 73 | 46 69 6c 65 28 50 49 43 | OpenRes|File(PIC|
|00003c50| 53 66 69 6c 65 4e 61 6d | 65 29 0d 49 66 20 69 74 |SfileNam|e).If it|
|00003c60| 20 3c 20 30 20 74 68 65 | 6e 0d 41 6e 73 77 65 72 | < 0 the|n.Answer|
|00003c70| 20 22 45 72 72 6f 72 22 | 20 26 26 20 69 74 20 26 | "Error"| && it &|
|00003c80| 26 20 22 6f 70 65 6e 69 | 6e 67 20 50 49 43 53 20 |& "openi|ng PICS |
|00003c90| 66 69 6c 65 2e 22 0d 44 | 6f 20 43 6c 65 61 6e 75 |file.".D|o Cleanu|
|00003ca0| 70 0d 45 78 69 74 20 43 | 6f 6e 76 65 72 74 50 49 |p.Exit C|onvertPI|
|00003cb0| 43 53 74 6f 4d 6f 76 69 | 65 0d 45 6c 73 65 20 69 |CStoMovi|e.Else i|
|00003cc0| 66 20 69 74 20 3d 20 30 | 20 74 68 65 6e 0d 41 6e |f it = 0| then.An|
|00003cd0| 73 77 65 72 20 22 48 6d | 6d 2c 20 74 68 61 74 20 |swer "Hm|m, that |
|00003ce0| 66 69 6c 65 20 69 73 20 | 61 6c 72 65 61 64 79 20 |file is |already |
|00003cf0| 6f 70 65 6e 2e 22 20 77 | 69 74 68 20 22 55 68 2d |open." w|ith "Uh-|
|00003d00| 6f 68 22 0d 44 6f 20 43 | 6c 65 61 6e 75 70 0d 45 |oh".Do C|leanup.E|
|00003d10| 78 69 74 20 43 6f 6e 76 | 65 72 74 50 49 43 53 74 |xit Conv|ertPICSt|
|00003d20| 6f 4d 6f 76 69 65 0d 45 | 6e 64 20 49 66 0d 50 75 |oMovie.E|nd If.Pu|
|00003d30| 74 20 69 74 20 69 6e 74 | 6f 20 50 49 43 53 66 69 |t it int|o PICSfi|
|00003d40| 6c 65 0d 50 75 74 20 22 | 43 6c 6f 73 65 52 65 73 |le.Put "|CloseRes|
|00003d50| 46 69 6c 65 22 20 26 26 | 20 69 74 20 26 20 72 65 |File" &&| it & re|
|00003d60| 74 75 72 6e 20 61 66 74 | 65 72 20 43 6c 65 61 6e |turn aft|er Clean|
|00003d70| 75 70 0d 43 72 65 61 74 | 65 4d 6f 76 69 65 46 69 |up.Creat|eMovieFi|
|00003d80| 6c 65 20 4d 6f 76 69 65 | 46 69 6c 65 4e 61 6d 65 |le Movie|FileName|
|00003d90| 2c 20 74 72 75 65 0d 47 | 65 74 20 74 68 65 20 72 |, true.G|et the r|
|00003da0| 65 73 75 6c 74 0d 49 66 | 20 69 74 20 69 73 20 6e |esult.If| it is n|
|00003db0| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 41 6e |ot empty| then.An|
|00003dc0| 73 77 65 72 20 22 45 72 | 72 6f 72 22 20 26 26 20 |swer "Er|ror" && |
|00003dd0| 69 74 20 26 26 20 22 63 | 72 65 61 74 69 6e 67 20 |it && "c|reating |
|00003de0| 6d 6f 76 69 65 20 66 69 | 6c 65 2e 22 0d 44 6f 20 |movie fi|le.".Do |
|00003df0| 43 6c 65 61 6e 75 70 0d | 45 78 69 74 20 43 6f 6e |Cleanup.|Exit Con|
|00003e00| 76 65 72 74 50 49 43 53 | 74 6f 4d 6f 76 69 65 0d |vertPICS|toMovie.|
|00003e10| 45 6e 64 20 49 66 0d 47 | 65 74 20 47 65 74 52 65 |End If.G|et GetRe|
|00003e20| 73 6f 75 72 63 65 28 50 | 49 43 53 66 69 6c 65 2c |source(P|ICSfile,|
|00003e30| 20 22 49 4e 46 4f 22 2c | 20 31 32 38 29 0d 49 66 | "INFO",| 128).If|
|00003e40| 20 69 74 20 3e 20 30 20 | 74 68 65 6e 0d 50 75 74 | it > 0 |then.Put|
|00003e50| 20 6c 69 6e 65 20 33 20 | 6f 66 20 47 65 74 50 49 | line 3 |of GetPI|
|00003e60| 43 53 49 6e 66 6f 28 69 | 74 29 20 69 6e 74 6f 20 |CSInfo(i|t) into |
|00003e70| 46 72 61 6d 65 52 61 74 | 65 0d 52 65 6c 65 61 73 |FrameRat|e.Releas|
|00003e80| 65 52 65 73 6f 75 72 63 | 65 20 69 74 0d 49 66 20 |eResourc|e it.If |
|00003e90| 46 72 61 6d 65 52 61 74 | 65 20 3c 20 30 20 74 68 |FrameRat|e < 0 th|
|00003ea0| 65 6e 0d 50 75 74 20 2d | 20 31 2e 30 20 2f 20 46 |en.Put -| 1.0 / F|
|00003eb0| 72 61 6d 65 52 61 74 65 | 20 69 6e 74 6f 20 46 72 |rameRate| into Fr|
|00003ec0| 61 6d 65 52 61 74 65 0d | 45 6e 64 20 49 66 0d 45 |ameRate.|End If.E|
|00003ed0| 6c 73 65 0d 50 75 74 20 | 31 2e 30 20 69 6e 74 6f |lse.Put |1.0 into|
|00003ee0| 20 46 72 61 6d 65 52 61 | 74 65 0d 45 6e 64 20 49 | FrameRa|te.End I|
|00003ef0| 66 0d 41 73 6b 20 22 57 | 68 61 74 d5 73 20 74 68 |f.Ask "W|hat.s th|
|00003f00| 65 20 73 70 65 65 64 20 | 6f 66 20 74 68 65 20 6d |e speed |of the m|
|00003f10| 6f 76 69 65 20 28 69 6e | 20 66 72 61 6d 65 73 20 |ovie (in| frames |
|00003f20| 70 65 72 20 73 65 63 6f | 6e 64 29 3f 22 20 77 69 |per seco|nd)?" wi|
|00003f30| 74 68 20 46 72 61 6d 65 | 52 61 74 65 0d 49 66 20 |th Frame|Rate.If |
|00003f40| 69 74 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |it is em|pty then|
|00003f50| 0d 44 6f 20 43 6c 65 61 | 6e 75 70 0d 45 78 69 74 |.Do Clea|nup.Exit|
|00003f60| 20 43 6f 6e 76 65 72 74 | 50 49 43 53 74 6f 4d 6f | Convert|PICStoMo|
|00003f70| 76 69 65 0d 45 6e 64 20 | 49 66 0d 50 75 74 20 74 |vie.End |If.Put t|
|00003f80| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 69 74 20 69 |he value| of it i|
|00003f90| 6e 74 6f 20 46 72 61 6d | 65 52 61 74 65 20 2d 2d |nto Fram|eRate --|
|00003fa0| 20 61 6c 6c 6f 77 73 20 | 65 78 70 72 65 73 73 69 | allows |expressi|
|00003fb0| 6f 6e 73 20 6c 69 6b 65 | 20 d2 31 2f 35 d3 0d 50 |ons like| .1/5..P|
|00003fc0| 75 74 20 31 32 38 20 69 | 6e 74 6f 20 50 49 43 54 |ut 128 i|nto PICT|
|00003fd0| 52 65 73 49 44 0d 47 65 | 74 20 47 65 74 52 65 73 |ResID.Ge|t GetRes|
|00003fe0| 6f 75 72 63 65 28 50 49 | 43 53 66 69 6c 65 2c 20 |ource(PI|CSfile, |
|00003ff0| 22 50 49 43 54 22 2c 20 | 50 49 43 54 52 65 73 49 |"PICT", |PICTResI|
|00004000| 44 29 0d 49 66 20 69 74 | 20 b2 20 30 20 74 68 65 |D).If it| . 0 the|
|00004010| 6e 0d 41 6e 73 77 65 72 | 20 22 46 69 72 73 74 20 |n.Answer| "First |
|00004020| 70 69 63 74 75 72 65 20 | 66 72 61 6d 65 20 6d 69 |picture |frame mi|
|00004030| 73 73 69 6e 67 20 66 72 | 6f 6d 20 50 49 43 53 20 |ssing fr|om PICS |
|00004040| 66 69 6c 65 2e 22 0d 44 | 6f 20 43 6c 65 61 6e 75 |file.".D|o Cleanu|
|00004050| 70 0d 45 78 69 74 20 43 | 6f 6e 76 65 72 74 50 49 |p.Exit C|onvertPI|
|00004060| 43 53 74 6f 4d 6f 76 69 | 65 0d 45 6e 64 20 49 66 |CStoMovi|e.End If|
|00004070| 0d 50 75 74 20 69 74 20 | 69 6e 74 6f 20 54 68 69 |.Put it |into Thi|
|00004080| 73 50 69 63 74 75 72 65 | 0d 50 75 74 20 50 69 63 |sPicture|.Put Pic|
|00004090| 74 75 72 65 46 72 61 6d | 65 28 54 68 69 73 50 69 |tureFram|e(ThisPi|
|000040a0| 63 74 75 72 65 29 20 69 | 6e 74 6f 20 46 72 61 6d |cture) i|nto Fram|
|000040b0| 65 42 6f 75 6e 64 73 0d | 47 65 74 20 43 72 65 61 |eBounds.|Get Crea|
|000040c0| 74 65 4d 6f 76 69 65 28 | 20 c2 0d 4d 6f 76 69 65 |teMovie(| ..Movie|
|000040d0| 46 69 6c 65 4e 61 6d 65 | 2c 20 c2 0d 46 72 61 6d |FileName|, ..Fram|
|000040e0| 65 42 6f 75 6e 64 73 2c | 20 c2 0d 6c 69 6e 65 20 |eBounds,| ..line |
|000040f0| 28 63 61 72 64 20 66 69 | 65 6c 64 20 22 43 6f 6d |(card fi|eld "Com|
|00004100| 70 72 65 73 73 69 6f 6e | 20 44 65 70 74 68 20 43 |pression| Depth C|
|00004110| 6f 64 65 22 29 20 6f 66 | 20 50 69 78 65 6c 44 65 |ode") of| PixelDe|
|00004120| 70 74 68 73 28 29 2c c2 | 0d 63 61 72 64 20 66 69 |pths(),.|.card fi|
|00004130| 65 6c 64 20 22 43 6f 6d | 70 72 65 73 73 6f 72 20 |eld "Com|pressor |
|00004140| 49 44 22 2c 20 c2 0d 63 | 61 72 64 20 66 69 65 6c |ID", ..c|ard fiel|
|00004150| 64 20 22 53 70 61 74 69 | 61 6c 20 51 75 61 6c 69 |d "Spati|al Quali|
|00004160| 74 79 22 2c 20 c2 0d 63 | 61 72 64 20 66 69 65 6c |ty", ..c|ard fiel|
|00004170| 64 20 22 54 65 6d 70 6f | 72 61 6c 20 51 75 61 6c |d "Tempo|ral Qual|
|00004180| 69 74 79 22 2c 20 c2 0d | 63 61 72 64 20 66 69 65 |ity", ..|card fie|
|00004190| 6c 64 20 22 4b 65 79 20 | 46 72 61 6d 65 20 52 61 |ld "Key |Frame Ra|
|000041a0| 74 65 22 2c 20 c2 0d 31 | 2e 30 20 2f 20 46 72 61 |te", ..1|.0 / Fra|
|000041b0| 6d 65 52 61 74 65 29 0d | 49 66 20 69 74 20 3c 20 |meRate).|If it < |
|000041c0| 30 20 74 68 65 6e 0d 41 | 6e 73 77 65 72 20 22 45 |0 then.A|nswer "E|
|000041d0| 72 72 6f 72 22 20 26 26 | 20 69 74 20 26 26 20 22 |rror" &&| it && "|
|000041e0| 63 72 65 61 74 69 6e 67 | 20 6d 6f 76 69 65 2e 22 |creating| movie."|
|000041f0| 0d 44 6f 20 43 6c 65 61 | 6e 75 70 0d 45 78 69 74 |.Do Clea|nup.Exit|
|00004200| 20 43 6f 6e 76 65 72 74 | 50 49 43 53 74 6f 4d 6f | Convert|PICStoMo|
|00004210| 76 69 65 0d 45 6e 64 20 | 49 66 0d 50 75 74 20 69 |vie.End |If.Put i|
|00004220| 74 20 69 6e 74 6f 20 54 | 68 65 4d 6f 76 69 65 0d |t into T|heMovie.|
|00004230| 50 75 74 20 22 46 69 6e | 69 73 68 65 64 4d 6f 76 |Put "Fin|ishedMov|
|00004240| 69 65 22 20 26 26 20 69 | 74 20 26 20 72 65 74 75 |ie" && i|t & retu|
|00004250| 72 6e 20 61 66 74 65 72 | 20 43 6c 65 61 6e 75 70 |rn after| Cleanup|
|00004260| 0d 52 65 70 65 61 74 0d | 53 65 74 20 63 75 72 73 |.Repeat.|Set curs|
|00004270| 6f 72 20 74 6f 20 62 75 | 73 79 0d 41 64 64 4d 6f |or to bu|sy.AddMo|
|00004280| 76 69 65 46 72 61 6d 65 | 20 54 68 65 4d 6f 76 69 |vieFrame| TheMovi|
|00004290| 65 2c 20 54 68 69 73 50 | 69 63 74 75 72 65 0d 47 |e, ThisP|icture.G|
|000042a0| 65 74 20 74 68 65 20 72 | 65 73 75 6c 74 0d 49 66 |et the r|esult.If|
|000042b0| 20 69 74 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 | it is n|ot empty|
|000042c0| 20 74 68 65 6e 0d 41 6e | 73 77 65 72 20 22 45 72 | then.An|swer "Er|
|000042d0| 72 6f 72 22 20 26 26 20 | 69 74 20 26 26 20 22 61 |ror" && |it && "a|
|000042e0| 64 64 69 6e 67 20 66 72 | 61 6d 65 20 74 6f 20 6d |dding fr|ame to m|
|000042f0| 6f 76 69 65 2e 22 0d 45 | 78 69 74 20 52 65 70 65 |ovie.".E|xit Repe|
|00004300| 61 74 0d 45 6e 64 20 49 | 66 0d 52 65 6c 65 61 73 |at.End I|f.Releas|
|00004310| 65 52 65 73 6f 75 72 63 | 65 20 54 68 69 73 50 69 |eResourc|e ThisPi|
|00004320| 63 74 75 72 65 0d 41 64 | 64 20 31 20 74 6f 20 50 |cture.Ad|d 1 to P|
|00004330| 49 43 54 52 65 73 49 44 | 0d 47 65 74 20 47 65 74 |ICTResID|.Get Get|
|00004340| 52 65 73 6f 75 72 63 65 | 28 50 49 43 53 66 69 6c |Resource|(PICSfil|
|00004350| 65 2c 20 22 50 49 43 54 | 22 2c 20 50 49 43 54 52 |e, "PICT|", PICTR|
|00004360| 65 73 49 44 29 0d 49 66 | 20 69 74 20 b2 20 30 20 |esID).If| it . 0 |
|00004370| 74 68 65 6e 0d 45 78 69 | 74 20 52 65 70 65 61 74 |then.Exi|t Repeat|
|00004380| 0d 45 6e 64 20 49 66 0d | 50 75 74 20 69 74 20 69 |.End If.|Put it i|
|00004390| 6e 74 6f 20 54 68 69 73 | 50 69 63 74 75 72 65 0d |nto This|Picture.|
|000043a0| 45 6e 64 20 52 65 70 65 | 61 74 0d 44 6f 20 43 6c |End Repe|at.Do Cl|
|000043b0| 65 61 6e 75 70 0d 41 6c | 6c 44 6f 6e 65 0d 45 6e |eanup.Al|lDone.En|
|000043c0| 64 20 43 6f 6e 76 65 72 | 74 50 49 43 53 74 6f 4d |d Conver|tPICStoM|
|000043d0| 6f 76 69 65 0d 0d 4f 6e | 20 43 6f 6e 76 65 72 74 |ovie..On| Convert|
|000043e0| 50 49 43 54 66 69 6c 65 | 73 54 6f 4d 6f 76 69 65 |PICTfile|sToMovie|
|000043f0| 0d 50 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.Put emp|ty into |
|00004400| 43 6c 65 61 6e 75 70 0d | 47 6f 20 74 6f 20 63 61 |Cleanup.|Go to ca|
|00004410| 72 64 20 69 64 20 33 37 | 38 33 20 2d 2d 20 72 65 |rd id 37|83 -- re|
|00004420| 6d 69 6e 64 20 75 73 65 | 72 20 61 62 6f 75 74 20 |mind use|r about |
|00004430| 63 6f 6d 70 72 65 73 73 | 69 6f 6e 20 73 65 74 74 |compress|ion sett|
|00004440| 69 6e 67 73 0d 41 6e 73 | 77 65 72 20 66 69 6c 65 |ings.Ans|wer file|
|00004450| 20 22 53 65 6c 65 63 74 | 20 66 69 72 73 74 20 50 | "Select| first P|
|00004460| 49 43 54 20 66 69 6c 65 | 20 74 6f 20 63 6f 6e 76 |ICT file| to conv|
|00004470| 65 72 74 3a 22 20 6f 66 | 20 74 79 70 65 20 22 50 |ert:" of| type "P|
|00004480| 49 43 54 22 0d 49 66 20 | 69 74 20 69 73 20 65 6d |ICT".If |it is em|
|00004490| 70 74 79 20 74 68 65 6e | 0d 44 6f 20 43 6c 65 61 |pty then|.Do Clea|
|000044a0| 6e 75 70 0d 45 78 69 74 | 20 43 6f 6e 76 65 72 74 |nup.Exit| Convert|
|000044b0| 50 49 43 54 66 69 6c 65 | 73 54 6f 4d 6f 76 69 65 |PICTfile|sToMovie|
|000044c0| 0d 45 6e 64 20 49 66 0d | 50 75 74 20 69 74 20 69 |.End If.|Put it i|
|000044d0| 6e 74 6f 20 46 69 72 73 | 74 50 69 63 74 75 72 65 |nto Firs|tPicture|
|000044e0| 46 69 6c 65 0d 47 65 74 | 20 46 69 6e 64 4e 75 6d |File.Get| FindNum|
|000044f0| 62 65 72 53 75 66 66 69 | 78 28 46 69 72 73 74 50 |berSuffi|x(FirstP|
|00004500| 69 63 74 75 72 65 46 69 | 6c 65 29 0d 49 66 20 69 |ictureFi|le).If i|
|00004510| 74 20 3d 20 30 20 74 68 | 65 6e 0d 47 65 74 20 46 |t = 0 th|en.Get F|
|00004520| 69 6c 65 4e 61 6d 65 50 | 61 72 74 28 46 69 72 73 |ileNameP|art(Firs|
|00004530| 74 50 69 63 74 75 72 65 | 46 69 6c 65 29 0d 41 6e |tPicture|File).An|
|00004540| 73 77 65 72 20 22 59 6f | 75 72 20 50 49 43 54 20 |swer "Yo|ur PICT |
|00004550| 66 69 6c 65 73 20 6d 75 | 73 74 20 68 61 76 65 20 |files mu|st have |
|00004560| 6e 61 6d 65 73 20 6c 69 | 6b 65 20 d2 22 20 26 20 |names li|ke ." & |
|00004570| c2 0d 69 74 20 26 20 22 | 2e 30 30 31 d3 2c 20 d2 |..it & "|.001., .|
|00004580| 22 20 26 20 69 74 20 26 | 20 22 2e 30 30 32 d3 22 |" & it &| ".002."|
|00004590| 20 26 20 22 20 61 6e 64 | 20 73 6f 20 6f 6e 2e 22 | & " and| so on."|
|000045a0| 0d 44 6f 20 43 6c 65 61 | 6e 75 70 0d 45 78 69 74 |.Do Clea|nup.Exit|
|000045b0| 20 43 6f 6e 76 65 72 74 | 50 49 43 54 66 69 6c 65 | Convert|PICTfile|
|000045c0| 73 54 6f 4d 6f 76 69 65 | 0d 45 6e 64 20 49 66 0d |sToMovie|.End If.|
|000045d0| 50 75 74 20 74 68 65 20 | 6c 65 6e 67 74 68 20 6f |Put the |length o|
|000045e0| 66 20 46 69 72 73 74 50 | 69 63 74 75 72 65 46 69 |f FirstP|ictureFi|
|000045f0| 6c 65 20 2d 20 69 74 20 | 69 6e 74 6f 20 53 75 66 |le - it |into Suf|
|00004600| 66 69 78 4c 65 6e 67 74 | 68 0d 50 75 74 20 63 68 |fixLengt|h.Put ch|
|00004610| 61 72 20 28 69 74 20 2b | 20 31 29 20 74 6f 20 28 |ar (it +| 1) to (|
|00004620| 74 68 65 20 6c 65 6e 67 | 74 68 20 6f 66 20 46 69 |the leng|th of Fi|
|00004630| 72 73 74 50 69 63 74 75 | 72 65 46 69 6c 65 29 20 |rstPictu|reFile) |
|00004640| c2 0d 6f 66 20 46 69 72 | 73 74 50 69 63 74 75 72 |..of Fir|stPictur|
|00004650| 65 46 69 6c 65 20 69 6e | 74 6f 20 43 75 72 72 53 |eFile in|to CurrS|
|00004660| 75 66 66 69 78 0d 50 75 | 74 20 63 68 61 72 20 31 |uffix.Pu|t char 1|
|00004670| 20 74 6f 20 28 69 74 20 | 2d 20 31 29 20 6f 66 20 | to (it |- 1) of |
|00004680| 46 69 72 73 74 50 69 63 | 74 75 72 65 46 69 6c 65 |FirstPic|tureFile|
|00004690| 20 69 6e 74 6f 20 4e 61 | 6d 65 50 72 65 66 69 78 | into Na|mePrefix|
|000046a0| 0d 41 6e 73 77 65 72 20 | 66 69 6c 65 20 22 41 6e |.Answer |file "An|
|000046b0| 64 20 74 68 65 20 50 49 | 43 54 20 66 69 6c 65 20 |d the PI|CT file |
|000046c0| 77 68 69 63 68 20 65 6e | 64 73 20 74 68 65 20 73 |which en|ds the s|
|000046d0| 65 71 75 65 6e 63 65 3a | 22 20 6f 66 20 74 79 70 |equence:|" of typ|
|000046e0| 65 20 22 50 49 43 54 22 | 0d 49 66 20 69 74 20 69 |e "PICT"|.If it i|
|000046f0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 44 6f 20 |s empty |then.Do |
|00004700| 43 6c 65 61 6e 75 70 0d | 45 78 69 74 20 43 6f 6e |Cleanup.|Exit Con|
|00004710| 76 65 72 74 50 49 43 54 | 66 69 6c 65 73 54 6f 4d |vertPICT|filesToM|
|00004720| 6f 76 69 65 0d 45 6e 64 | 20 49 66 0d 50 75 74 20 |ovie.End| If.Put |
|00004730| 69 74 20 69 6e 74 6f 20 | 4c 61 73 74 50 69 63 74 |it into |LastPict|
|00004740| 75 72 65 46 69 6c 65 0d | 47 65 74 20 46 69 6e 64 |ureFile.|Get Find|
|00004750| 4e 75 6d 62 65 72 53 75 | 66 66 69 78 28 4c 61 73 |NumberSu|ffix(Las|
|00004760| 74 50 69 63 74 75 72 65 | 46 69 6c 65 29 0d 49 66 |tPicture|File).If|
|00004770| 20 69 74 20 3d 20 30 20 | 74 68 65 6e 0d 41 6e 73 | it = 0 |then.Ans|
|00004780| 77 65 72 20 22 4e 61 6d | 65 20 64 6f 65 73 6e d5 |wer "Nam|e doesn.|
|00004790| 74 20 61 67 72 65 65 20 | 77 69 74 68 20 66 69 72 |t agree |with fir|
|000047a0| 73 74 20 50 49 43 54 20 | 66 69 6c 65 2e 22 0d 44 |st PICT |file.".D|
|000047b0| 6f 20 43 6c 65 61 6e 75 | 70 0d 45 78 69 74 20 43 |o Cleanu|p.Exit C|
|000047c0| 6f 6e 76 65 72 74 50 49 | 43 54 66 69 6c 65 73 54 |onvertPI|CTfilesT|
|000047d0| 6f 4d 6f 76 69 65 0d 45 | 6e 64 20 49 66 0d 49 66 |oMovie.E|nd If.If|
|000047e0| 20 63 68 61 72 20 31 20 | 74 6f 20 28 69 74 20 2d | char 1 |to (it -|
|000047f0| 20 31 29 20 6f 66 20 4c | 61 73 74 50 69 63 74 75 | 1) of L|astPictu|
|00004800| 72 65 46 69 6c 65 20 ad | 20 4e 61 6d 65 50 72 65 |reFile .| NamePre|
|00004810| 66 69 78 20 74 68 65 6e | 0d 41 6e 73 77 65 72 20 |fix then|.Answer |
|00004820| 22 4e 61 6d 65 20 64 6f | 65 73 6e d5 74 20 61 67 |"Name do|esn.t ag|
|00004830| 72 65 65 20 77 69 74 68 | 20 66 69 72 73 74 20 50 |ree with| first P|
|00004840| 49 43 54 20 66 69 6c 65 | 2e 22 0d 44 6f 20 43 6c |ICT file|.".Do Cl|
|00004850| 65 61 6e 75 70 0d 45 78 | 69 74 20 43 6f 6e 76 65 |eanup.Ex|it Conve|
|00004860| 72 74 50 49 43 54 66 69 | 6c 65 73 54 6f 4d 6f 76 |rtPICTfi|lesToMov|
|00004870| 69 65 0d 45 6e 64 20 49 | 66 0d 50 75 74 20 63 68 |ie.End I|f.Put ch|
|00004880| 61 72 20 28 69 74 20 2b | 20 31 29 20 74 6f 20 28 |ar (it +| 1) to (|
|00004890| 74 68 65 20 6c 65 6e 67 | 74 68 20 6f 66 20 4c 61 |the leng|th of La|
|000048a0| 73 74 50 69 63 74 75 72 | 65 46 69 6c 65 29 20 c2 |stPictur|eFile) .|
|000048b0| 0d 6f 66 20 4c 61 73 74 | 50 69 63 74 75 72 65 46 |.of Last|PictureF|
|000048c0| 69 6c 65 20 69 6e 74 6f | 20 4c 61 73 74 53 75 66 |ile into| LastSuf|
|000048d0| 66 69 78 0d 49 66 20 74 | 68 65 20 6c 65 6e 67 74 |fix.If t|he lengt|
|000048e0| 68 20 6f 66 20 4c 61 73 | 74 53 75 66 66 69 78 20 |h of Las|tSuffix |
|000048f0| ad 20 74 68 65 20 6c 65 | 6e 67 74 68 20 6f 66 20 |. the le|ngth of |
|00004900| 43 75 72 72 53 75 66 66 | 69 78 20 74 68 65 6e 0d |CurrSuff|ix then.|
|00004910| 41 6e 73 77 65 72 20 22 | 4e 75 6d 62 65 72 20 73 |Answer "|Number s|
|00004920| 75 66 66 69 78 65 73 20 | 64 6f 6e d5 74 20 68 61 |uffixes |don.t ha|
|00004930| 76 65 20 74 68 65 20 73 | 61 6d 65 20 6e 75 6d 62 |ve the s|ame numb|
|00004940| 65 72 20 6f 66 20 64 69 | 67 69 74 73 2e 22 0d 44 |er of di|gits.".D|
|00004950| 6f 20 43 6c 65 61 6e 75 | 70 0d 45 78 69 74 20 43 |o Cleanu|p.Exit C|
|00004960| 6f 6e 76 65 72 74 50 49 | 43 54 66 69 6c 65 73 54 |onvertPI|CTfilesT|
|00004970| 6f 4d 6f 76 69 65 0d 45 | 6e 64 20 49 66 0d 49 66 |oMovie.E|nd If.If|
|00004980| 20 4c 61 73 74 53 75 66 | 66 69 78 20 3c 20 43 75 | LastSuf|fix < Cu|
|00004990| 72 72 53 75 66 66 69 78 | 20 74 68 65 6e 0d 41 6e |rrSuffix| then.An|
|000049a0| 73 77 65 72 20 22 53 74 | 61 72 74 69 6e 67 20 6e |swer "St|arting n|
|000049b0| 75 6d 62 65 72 20 63 61 | 6e d5 74 20 62 65 20 61 |umber ca|n.t be a|
|000049c0| 66 74 65 72 20 65 6e 64 | 69 6e 67 20 6e 75 6d 62 |fter end|ing numb|
|000049d0| 65 72 2e 22 0d 44 6f 20 | 43 6c 65 61 6e 75 70 0d |er.".Do |Cleanup.|
|000049e0| 45 78 69 74 20 43 6f 6e | 76 65 72 74 50 49 43 54 |Exit Con|vertPICT|
|000049f0| 66 69 6c 65 73 54 6f 4d | 6f 76 69 65 0d 45 6e 64 |filesToM|ovie.End|
|00004a00| 20 49 66 0d 47 65 74 20 | 50 69 63 74 75 72 65 46 | If.Get |PictureF|
|00004a10| 72 6f 6d 46 69 6c 65 28 | 46 69 72 73 74 50 69 63 |romFile(|FirstPic|
|00004a20| 74 75 72 65 46 69 6c 65 | 29 0d 49 66 20 69 74 20 |tureFile|).If it |
|00004a30| 3c 20 30 20 74 68 65 6e | 0d 41 6e 73 77 65 72 20 |< 0 then|.Answer |
|00004a40| 22 45 72 72 6f 72 22 20 | 26 26 20 69 74 20 26 26 |"Error" |&& it &&|
|00004a50| 20 22 6c 6f 61 64 69 6e | 67 20 66 69 72 73 74 20 | "loadin|g first |
|00004a60| 70 69 63 74 75 72 65 2e | 22 0d 44 6f 20 43 6c 65 |picture.|".Do Cle|
|00004a70| 61 6e 75 70 0d 45 78 69 | 74 20 43 6f 6e 76 65 72 |anup.Exi|t Conver|
|00004a80| 74 50 49 43 54 66 69 6c | 65 73 54 6f 4d 6f 76 69 |tPICTfil|esToMovi|
|00004a90| 65 0d 45 6e 64 20 49 66 | 0d 50 75 74 20 69 74 20 |e.End If|.Put it |
|00004aa0| 69 6e 74 6f 20 54 68 69 | 73 50 69 63 74 75 72 65 |into Thi|sPicture|
|00004ab0| 0d 41 73 6b 20 66 69 6c | 65 20 22 4d 6f 76 69 65 |.Ask fil|e "Movie|
|00004ac0| 20 66 69 6c 65 20 74 6f | 20 63 72 65 61 74 65 3f | file to| create?|
|00004ad0| 22 0d 49 66 20 69 74 20 | 69 73 20 65 6d 70 74 79 |".If it |is empty|
|00004ae0| 20 74 68 65 6e 0d 44 6f | 20 43 6c 65 61 6e 75 70 | then.Do| Cleanup|
|00004af0| 0d 45 78 69 74 20 43 6f | 6e 76 65 72 74 50 49 43 |.Exit Co|nvertPIC|
|00004b00| 54 66 69 6c 65 73 54 6f | 4d 6f 76 69 65 0d 45 6e |TfilesTo|Movie.En|
|00004b10| 64 20 49 66 0d 50 75 74 | 20 69 74 20 69 6e 74 6f |d If.Put| it into|
|00004b20| 20 4d 6f 76 69 65 46 69 | 6c 65 4e 61 6d 65 0d 43 | MovieFi|leName.C|
|00004b30| 72 65 61 74 65 4d 6f 76 | 69 65 46 69 6c 65 20 4d |reateMov|ieFile M|
|00004b40| 6f 76 69 65 46 69 6c 65 | 4e 61 6d 65 2c 20 74 72 |ovieFile|Name, tr|
|00004b50| 75 65 0d 47 65 74 20 74 | 68 65 20 72 65 73 75 6c |ue.Get t|he resul|
|00004b60| 74 0d 49 66 20 69 74 20 | 69 73 20 6e 6f 74 20 65 |t.If it |is not e|
|00004b70| 6d 70 74 79 20 74 68 65 | 6e 0d 41 6e 73 77 65 72 |mpty the|n.Answer|
|00004b80| 20 22 45 72 72 6f 72 22 | 20 26 26 20 69 74 20 26 | "Error"| && it &|
|00004b90| 26 20 22 63 72 65 61 74 | 69 6e 67 20 6d 6f 76 69 |& "creat|ing movi|
|00004ba0| 65 20 66 69 6c 65 2e 22 | 0d 44 6f 20 43 6c 65 61 |e file."|.Do Clea|
|00004bb0| 6e 75 70 0d 45 78 69 74 | 20 43 6f 6e 76 65 72 74 |nup.Exit| Convert|
|00004bc0| 50 49 43 54 66 69 6c 65 | 73 54 6f 4d 6f 76 69 65 |PICTfile|sToMovie|
|00004bd0| 0d 45 6e 64 20 49 66 0d | 41 73 6b 20 22 57 68 61 |.End If.|Ask "Wha|
|00004be0| 74 d5 73 20 74 68 65 20 | 73 70 65 65 64 20 6f 66 |t.s the |speed of|
|00004bf0| 20 74 68 65 20 6d 6f 76 | 69 65 20 28 69 6e 20 66 | the mov|ie (in f|
|00004c00| 72 61 6d 65 73 20 70 65 | 72 20 73 65 63 6f 6e 64 |rames pe|r second|
|00004c10| 29 3f 22 20 77 69 74 68 | 20 22 31 2e 30 22 0d 50 |)?" with| "1.0".P|
|00004c20| 75 74 20 74 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |ut the v|alue of |
|00004c30| 69 74 20 69 6e 74 6f 20 | 46 72 61 6d 65 52 61 74 |it into |FrameRat|
|00004c40| 65 0d 50 75 74 20 50 69 | 63 74 75 72 65 46 72 61 |e.Put Pi|ctureFra|
|00004c50| 6d 65 28 54 68 69 73 50 | 69 63 74 75 72 65 29 20 |me(ThisP|icture) |
|00004c60| 69 6e 74 6f 20 46 72 61 | 6d 65 42 6f 75 6e 64 73 |into Fra|meBounds|
|00004c70| 0d 47 65 74 20 43 72 65 | 61 74 65 4d 6f 76 69 65 |.Get Cre|ateMovie|
|00004c80| 28 20 c2 0d 4d 6f 76 69 | 65 46 69 6c 65 4e 61 6d |( ..Movi|eFileNam|
|00004c90| 65 2c 20 c2 0d 46 72 61 | 6d 65 42 6f 75 6e 64 73 |e, ..Fra|meBounds|
|00004ca0| 2c 20 c2 0d 6c 69 6e 65 | 20 28 63 61 72 64 20 66 |, ..line| (card f|
|00004cb0| 69 65 6c 64 20 22 43 6f | 6d 70 72 65 73 73 69 6f |ield "Co|mpressio|
|00004cc0| 6e 20 44 65 70 74 68 20 | 43 6f 64 65 22 29 20 6f |n Depth |Code") o|
|00004cd0| 66 20 50 69 78 65 6c 44 | 65 70 74 68 73 28 29 2c |f PixelD|epths(),|
|00004ce0| c2 0d 63 61 72 64 20 66 | 69 65 6c 64 20 22 43 6f |..card f|ield "Co|
|00004cf0| 6d 70 72 65 73 73 6f 72 | 20 49 44 22 2c 20 c2 0d |mpressor| ID", ..|
|00004d00| 63 61 72 64 20 66 69 65 | 6c 64 20 22 53 70 61 74 |card fie|ld "Spat|
|00004d10| 69 61 6c 20 51 75 61 6c | 69 74 79 22 2c 20 c2 0d |ial Qual|ity", ..|
|00004d20| 63 61 72 64 20 66 69 65 | 6c 64 20 22 54 65 6d 70 |card fie|ld "Temp|
|00004d30| 6f 72 61 6c 20 51 75 61 | 6c 69 74 79 22 2c 20 c2 |oral Qua|lity", .|
|00004d40| 0d 63 61 72 64 20 66 69 | 65 6c 64 20 22 4b 65 79 |.card fi|eld "Key|
|00004d50| 20 46 72 61 6d 65 20 52 | 61 74 65 22 2c 20 c2 0d | Frame R|ate", ..|
|00004d60| 31 2e 30 20 2f 20 46 72 | 61 6d 65 52 61 74 65 29 |1.0 / Fr|ameRate)|
|00004d70| 0d 49 66 20 69 74 20 3c | 20 30 20 74 68 65 6e 0d |.If it <| 0 then.|
|00004d80| 41 6e 73 77 65 72 20 22 | 45 72 72 6f 72 22 20 26 |Answer "|Error" &|
|00004d90| 26 20 69 74 20 26 26 20 | 22 63 72 65 61 74 69 6e |& it && |"creatin|
|00004da0| 67 20 6d 6f 76 69 65 2e | 22 0d 44 6f 20 43 6c 65 |g movie.|".Do Cle|
|00004db0| 61 6e 75 70 0d 45 78 69 | 74 20 43 6f 6e 76 65 72 |anup.Exi|t Conver|
|00004dc0| 74 50 49 43 54 66 69 6c | 65 73 54 6f 4d 6f 76 69 |tPICTfil|esToMovi|
|00004dd0| 65 0d 45 6e 64 20 49 66 | 0d 50 75 74 20 69 74 20 |e.End If|.Put it |
|00004de0| 69 6e 74 6f 20 54 68 65 | 4d 6f 76 69 65 0d 50 75 |into The|Movie.Pu|
|00004df0| 74 20 22 46 69 6e 69 73 | 68 65 64 4d 6f 76 69 65 |t "Finis|hedMovie|
|00004e00| 22 20 26 26 20 69 74 20 | 26 20 72 65 74 75 72 6e |" && it |& return|
|00004e10| 20 61 66 74 65 72 20 43 | 6c 65 61 6e 75 70 0d 52 | after C|leanup.R|
|00004e20| 65 70 65 61 74 0d 53 65 | 74 20 63 75 72 73 6f 72 |epeat.Se|t cursor|
|00004e30| 20 74 6f 20 62 75 73 79 | 0d 41 64 64 4d 6f 76 69 | to busy|.AddMovi|
|00004e40| 65 46 72 61 6d 65 20 54 | 68 65 4d 6f 76 69 65 2c |eFrame T|heMovie,|
|00004e50| 20 54 68 69 73 50 69 63 | 74 75 72 65 0d 47 65 74 | ThisPic|ture.Get|
|00004e60| 20 74 68 65 20 72 65 73 | 75 6c 74 0d 49 66 20 69 | the res|ult.If i|
|00004e70| 74 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |t is not| empty t|
|00004e80| 68 65 6e 0d 41 6e 73 77 | 65 72 20 22 45 72 72 6f |hen.Answ|er "Erro|
|00004e90| 72 22 20 26 26 20 69 74 | 20 26 26 20 22 61 64 64 |r" && it| && "add|
|00004ea0| 69 6e 67 20 66 72 61 6d | 65 20 74 6f 20 6d 6f 76 |ing fram|e to mov|
|00004eb0| 69 65 2e 22 0d 44 69 73 | 70 6f 73 65 50 69 63 74 |ie.".Dis|posePict|
|00004ec0| 75 72 65 20 54 68 69 73 | 50 69 63 74 75 72 65 0d |ure This|Picture.|
|00004ed0| 45 78 69 74 20 52 65 70 | 65 61 74 0d 45 6e 64 20 |Exit Rep|eat.End |
|00004ee0| 49 66 0d 44 69 73 70 6f | 73 65 50 69 63 74 75 72 |If.Dispo|sePictur|
|00004ef0| 65 20 54 68 69 73 50 69 | 63 74 75 72 65 0d 52 65 |e ThisPi|cture.Re|
|00004f00| 70 65 61 74 0d 49 66 20 | 43 75 72 72 53 75 66 66 |peat.If |CurrSuff|
|00004f10| 69 78 20 3d 20 4c 61 73 | 74 53 75 66 66 69 78 20 |ix = Las|tSuffix |
|00004f20| 74 68 65 6e 0d 47 65 74 | 20 30 0d 45 78 69 74 20 |then.Get| 0.Exit |
|00004f30| 52 65 70 65 61 74 0d 45 | 6e 64 20 49 66 0d 53 65 |Repeat.E|nd If.Se|
|00004f40| 74 20 6e 75 6d 62 65 72 | 66 6f 72 6d 61 74 20 74 |t number|format t|
|00004f50| 6f 20 63 68 61 72 20 31 | 20 74 6f 20 53 75 66 66 |o char 1| to Suff|
|00004f60| 69 78 4c 65 6e 67 74 68 | 20 6f 66 20 22 30 30 30 |ixLength| of "000|
|00004f70| 30 30 30 30 30 30 30 22 | 0d 41 64 64 20 31 20 74 |0000000"|.Add 1 t|
|00004f80| 6f 20 43 75 72 72 53 75 | 66 66 69 78 0d 47 65 74 |o CurrSu|ffix.Get|
|00004f90| 20 50 69 63 74 75 72 65 | 46 72 6f 6d 46 69 6c 65 | Picture|FromFile|
|00004fa0| 28 4e 61 6d 65 50 72 65 | 66 69 78 20 26 20 22 2e |(NamePre|fix & ".|
|00004fb0| 22 20 26 20 43 75 72 72 | 53 75 66 66 69 78 29 0d |" & Curr|Suffix).|
|00004fc0| 49 66 20 69 74 20 3e 20 | 30 20 74 68 65 6e 0d 45 |If it > |0 then.E|
|00004fd0| 78 69 74 20 52 65 70 65 | 61 74 0d 45 6e 64 20 49 |xit Repe|at.End I|
|00004fe0| 66 0d 41 6e 73 77 65 72 | 20 22 4d 69 73 73 69 6e |f.Answer| "Missin|
|00004ff0| 67 20 66 72 61 6d 65 20 | 6e 75 6d 62 65 72 22 20 |g frame |number" |
|00005000| 26 26 20 43 75 72 72 53 | 75 66 66 69 78 20 26 20 |&& CurrS|uffix & |
|00005010| 22 2e 22 20 c2 0d 77 69 | 74 68 20 22 53 6b 69 70 |"." ..wi|th "Skip|
|00005020| 22 20 6f 72 20 22 53 74 | 6f 70 22 0d 49 66 20 69 |" or "St|op".If i|
|00005030| 74 20 69 73 20 22 53 74 | 6f 70 22 20 74 68 65 6e |t is "St|op" then|
|00005040| 0d 47 65 74 20 30 0d 45 | 78 69 74 20 52 65 70 65 |.Get 0.E|xit Repe|
|00005050| 61 74 0d 45 6e 64 20 49 | 66 0d 45 6e 64 20 52 65 |at.End I|f.End Re|
|00005060| 70 65 61 74 0d 49 66 20 | 69 74 20 b2 20 30 20 74 |peat.If |it . 0 t|
|00005070| 68 65 6e 0d 45 78 69 74 | 20 52 65 70 65 61 74 0d |hen.Exit| Repeat.|
|00005080| 45 6e 64 20 49 66 0d 50 | 75 74 20 69 74 20 69 6e |End If.P|ut it in|
|00005090| 74 6f 20 54 68 69 73 50 | 69 63 74 75 72 65 0d 45 |to ThisP|icture.E|
|000050a0| 6e 64 20 52 65 70 65 61 | 74 0d 44 6f 20 43 6c 65 |nd Repea|t.Do Cle|
|000050b0| 61 6e 75 70 0d 41 6c 6c | 44 6f 6e 65 0d 45 6e 64 |anup.All|Done.End|
|000050c0| 20 43 6f 6e 76 65 72 74 | 50 49 43 54 66 69 6c 65 | Convert|PICTfile|
|000050d0| 73 54 6f 4d 6f 76 69 65 | 0d 0d 4f 6e 20 43 6f 6e |sToMovie|..On Con|
|000050e0| 76 65 72 74 4d 6f 76 69 | 65 54 6f 50 49 43 53 0d |vertMovi|eToPICS.|
|000050f0| 50 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 43 |Put empt|y into C|
|00005100| 6c 65 61 6e 75 70 0d 41 | 6e 73 77 65 72 20 66 69 |leanup.A|nswer fi|
|00005110| 6c 65 20 22 53 65 6c 65 | 63 74 20 6d 6f 76 69 65 |le "Sele|ct movie|
|00005120| 20 66 69 6c 65 20 74 6f | 20 63 6f 6e 76 65 72 74 | file to| convert|
|00005130| 3a 22 20 6f 66 20 74 79 | 70 65 20 22 4d 6f 6f 56 |:" of ty|pe "MooV|
|00005140| 22 0d 49 66 20 69 74 20 | 69 73 20 65 6d 70 74 79 |".If it |is empty|
|00005150| 20 74 68 65 6e 0d 44 6f | 20 43 6c 65 61 6e 75 70 | then.Do| Cleanup|
|00005160| 0d 45 78 69 74 20 43 6f | 6e 76 65 72 74 4d 6f 76 |.Exit Co|nvertMov|
|00005170| 69 65 54 6f 50 49 43 53 | 0d 45 6e 64 20 49 66 0d |ieToPICS|.End If.|
|00005180| 50 75 74 20 69 74 20 69 | 6e 74 6f 20 4d 6f 76 69 |Put it i|nto Movi|
|00005190| 65 46 69 6c 65 4e 61 6d | 65 0d 41 73 6b 20 66 69 |eFileNam|e.Ask fi|
|000051a0| 6c 65 20 22 50 49 43 53 | 20 66 69 6c 65 20 74 6f |le "PICS| file to|
|000051b0| 20 63 72 65 61 74 65 3f | 22 0d 49 66 20 69 74 20 | create?|".If it |
|000051c0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 44 6f |is empty| then.Do|
|000051d0| 20 43 6c 65 61 6e 75 70 | 0d 45 78 69 74 20 43 6f | Cleanup|.Exit Co|
|000051e0| 6e 76 65 72 74 4d 6f 76 | 69 65 54 6f 50 49 43 53 |nvertMov|ieToPICS|
|000051f0| 0d 45 6e 64 20 49 66 0d | 50 75 74 20 69 74 20 69 |.End If.|Put it i|
|00005200| 6e 74 6f 20 50 49 43 53 | 66 69 6c 65 4e 61 6d 65 |nto PICS|fileName|
|00005210| 0d 47 65 74 20 4e 65 77 | 4d 6f 76 69 65 46 72 6f |.Get New|MovieFro|
|00005220| 6d 46 69 6c 65 28 4d 6f | 76 69 65 46 69 6c 65 4e |mFile(Mo|vieFileN|
|00005230| 61 6d 65 29 0d 49 66 20 | 69 74 20 3c 20 30 20 74 |ame).If |it < 0 t|
|00005240| 68 65 6e 0d 41 6e 73 77 | 65 72 20 22 45 72 72 6f |hen.Answ|er "Erro|
|00005250| 72 22 20 26 26 20 69 74 | 20 26 26 20 22 6c 6f 61 |r" && it| && "loa|
|00005260| 64 69 6e 67 20 6d 6f 76 | 69 65 2e 22 0d 44 6f 20 |ding mov|ie.".Do |
|00005270| 43 6c 65 61 6e 75 70 0d | 45 78 69 74 20 43 6f 6e |Cleanup.|Exit Con|
|00005280| 76 65 72 74 4d 6f 76 69 | 65 54 6f 50 49 43 53 0d |vertMovi|eToPICS.|
|00005290| 45 6e 64 20 49 66 0d 50 | 75 74 20 69 74 20 69 6e |End If.P|ut it in|
|000052a0| 74 6f 20 54 68 65 4d 6f | 76 69 65 0d 50 75 74 20 |to TheMo|vie.Put |
|000052b0| 22 44 69 73 70 6f 73 65 | 4d 6f 76 69 65 22 20 26 |"Dispose|Movie" &|
|000052c0| 26 20 69 74 20 26 20 72 | 65 74 75 72 6e 20 61 66 |& it & r|eturn af|
|000052d0| 74 65 72 20 43 6c 65 61 | 6e 75 70 0d 43 72 65 61 |ter Clea|nup.Crea|
|000052e0| 74 65 52 65 73 46 69 6c | 65 20 50 49 43 53 66 69 |teResFil|e PICSfi|
|000052f0| 6c 65 4e 61 6d 65 2c 20 | 22 50 49 43 53 22 2c 20 |leName, |"PICS", |
|00005300| 22 3f 3f 3f 3f 22 2c 20 | 74 72 75 65 0d 47 65 74 |"????", |true.Get|
|00005310| 20 74 68 65 20 72 65 73 | 75 6c 74 0d 49 66 20 69 | the res|ult.If i|
|00005320| 74 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |t is not| empty t|
|00005330| 68 65 6e 0d 41 6e 73 77 | 65 72 20 22 45 72 72 6f |hen.Answ|er "Erro|
|00005340| 72 22 20 26 26 20 69 74 | 20 26 26 20 22 63 72 65 |r" && it| && "cre|
|00005350| 61 74 69 6e 67 20 50 49 | 43 53 20 66 69 6c 65 2e |ating PI|CS file.|
|00005360| 22 0d 44 6f 20 43 6c 65 | 61 6e 75 70 0d 45 78 69 |".Do Cle|anup.Exi|
|00005370| 74 20 43 6f 6e 76 65 72 | 74 4d 6f 76 69 65 54 6f |t Conver|tMovieTo|
|00005380| 50 49 43 53 0d 45 6e 64 | 20 49 66 0d 47 65 74 20 |PICS.End| If.Get |
|00005390| 4f 70 65 6e 52 65 73 46 | 69 6c 65 28 50 49 43 53 |OpenResF|ile(PICS|
|000053a0| 66 69 6c 65 4e 61 6d 65 | 2c 20 74 72 75 65 29 0d |fileName|, true).|
|000053b0| 49 66 20 69 74 20 3c 20 | 30 20 74 68 65 6e 0d 41 |If it < |0 then.A|
|000053c0| 6e 73 77 65 72 20 22 45 | 72 72 6f 72 22 20 26 26 |nswer "E|rror" &&|
|000053d0| 20 69 74 20 26 26 20 22 | 6f 70 65 6e 69 6e 67 20 | it && "|opening |
|000053e0| 50 49 43 53 20 66 69 6c | 65 2e 22 0d 44 6f 20 43 |PICS fil|e.".Do C|
|000053f0| 6c 65 61 6e 75 70 0d 45 | 78 69 74 20 43 6f 6e 76 |leanup.E|xit Conv|
|00005400| 65 72 74 4d 6f 76 69 65 | 54 6f 50 49 43 53 0d 45 |ertMovie|ToPICS.E|
|00005410| 6c 73 65 20 49 66 20 69 | 74 20 69 73 20 65 6d 70 |lse If i|t is emp|
|00005420| 74 79 20 74 68 65 6e 0d | 41 6e 73 77 65 72 20 22 |ty then.|Answer "|
|00005430| 48 6d 6d 2c 20 74 68 61 | 74 20 66 69 6c 65 20 69 |Hmm, tha|t file i|
|00005440| 73 20 61 6c 72 65 61 64 | 79 20 6f 70 65 6e 2e 22 |s alread|y open."|
|00005450| 20 77 69 74 68 20 22 55 | 68 2d 6f 68 22 0d 44 6f | with "U|h-oh".Do|
|00005460| 20 43 6c 65 61 6e 75 70 | 0d 45 78 69 74 20 43 6f | Cleanup|.Exit Co|
|00005470| 6e 76 65 72 74 4d 6f 76 | 69 65 54 6f 50 49 43 53 |nvertMov|ieToPICS|
|00005480| 0d 45 6e 64 20 49 66 0d | 50 75 74 20 69 74 20 69 |.End If.|Put it i|
|00005490| 6e 74 6f 20 50 49 43 53 | 66 69 6c 65 0d 50 75 74 |nto PICS|file.Put|
|000054a0| 20 22 43 6c 6f 73 65 52 | 65 73 46 69 6c 65 22 20 | "CloseR|esFile" |
|000054b0| 26 26 20 69 74 20 26 20 | 72 65 74 75 72 6e 20 61 |&& it & |return a|
|000054c0| 66 74 65 72 20 43 6c 65 | 61 6e 75 70 0d 50 75 74 |fter Cle|anup.Put|
|000054d0| 20 33 32 37 36 39 20 69 | 6e 74 6f 20 53 65 61 72 | 32769 i|nto Sear|
|000054e0| 63 68 4e 65 78 74 4d 65 | 64 69 61 53 61 6d 70 6c |chNextMe|diaSampl|
|000054f0| 65 0d 50 75 74 20 31 36 | 33 38 34 20 69 6e 74 6f |e.Put 16|384 into|
|00005500| 20 53 65 61 72 63 68 45 | 64 67 65 4f 4b 0d 50 75 | SearchE|dgeOK.Pu|
|00005510| 74 20 53 65 61 72 63 68 | 4e 65 78 74 4d 65 64 69 |t Search|NextMedi|
|00005520| 61 53 61 6d 70 6c 65 20 | 2b 20 53 65 61 72 63 68 |aSample |+ Search|
|00005530| 45 64 67 65 4f 4b 20 69 | 6e 74 6f 20 53 65 61 72 |EdgeOK i|nto Sear|
|00005540| 63 68 46 6c 61 67 73 0d | 50 75 74 20 30 20 69 6e |chFlags.|Put 0 in|
|00005550| 74 6f 20 4d 6f 76 69 65 | 54 69 6d 65 0d 50 75 74 |to Movie|Time.Put|
|00005560| 20 30 20 69 6e 74 6f 20 | 4c 61 72 67 65 73 74 50 | 0 into |LargestP|
|00005570| 69 63 74 75 72 65 53 69 | 7a 65 0d 50 75 74 20 30 |ictureSi|ze.Put 0|
|00005580| 20 69 6e 74 6f 20 46 72 | 61 6d 65 43 6f 75 6e 74 | into Fr|ameCount|
|00005590| 0d 50 75 74 20 33 32 37 | 36 37 20 2d 20 31 32 38 |.Put 327|67 - 128|
|000055a0| 20 2b 20 31 20 69 6e 74 | 6f 20 4d 61 78 46 72 61 | + 1 int|o MaxFra|
|000055b0| 6d 65 43 6f 75 6e 74 0d | 52 65 70 65 61 74 0d 53 |meCount.|Repeat.S|
|000055c0| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|000055d0| 79 0d 50 75 74 20 4d 6f | 76 69 65 54 69 6d 65 20 |y.Put Mo|vieTime |
|000055e0| 69 6e 74 6f 20 4c 61 73 | 74 4d 6f 76 69 65 54 69 |into Las|tMovieTi|
|000055f0| 6d 65 0d 47 65 74 20 6c | 69 6e 65 20 31 20 6f 66 |me.Get l|ine 1 of|
|00005600| 20 47 65 74 4d 6f 76 69 | 65 4e 65 78 74 49 6e 74 | GetMovi|eNextInt|
|00005610| 65 72 65 73 74 69 6e 67 | 54 69 6d 65 28 54 68 65 |eresting|Time(The|
|00005620| 4d 6f 76 69 65 2c 20 53 | 65 61 72 63 68 46 6c 61 |Movie, S|earchFla|
|00005630| 67 73 2c 20 c2 0d 22 76 | 69 64 65 22 2c 20 4d 6f |gs, .."v|ide", Mo|
|00005640| 76 69 65 54 69 6d 65 2c | 20 74 72 75 65 29 0d 49 |vieTime,| true).I|
|00005650| 66 20 69 74 20 3c 20 30 | 20 74 68 65 6e 0d 45 78 |f it < 0| then.Ex|
|00005660| 69 74 20 52 65 70 65 61 | 74 0d 45 6e 64 20 49 66 |it Repea|t.End If|
|00005670| 0d 50 75 74 20 69 74 20 | 69 6e 74 6f 20 4d 6f 76 |.Put it |into Mov|
|00005680| 69 65 54 69 6d 65 0d 49 | 66 20 53 65 61 72 63 68 |ieTime.I|f Search|
|00005690| 46 6c 61 67 73 20 3d 20 | 53 65 61 72 63 68 4e 65 |Flags = |SearchNe|
|000056a0| 78 74 4d 65 64 69 61 53 | 61 6d 70 6c 65 20 61 6e |xtMediaS|ample an|
|000056b0| 64 20 4d 6f 76 69 65 54 | 69 6d 65 20 3d 20 4c 61 |d MovieT|ime = La|
|000056c0| 73 74 4d 6f 76 69 65 54 | 69 6d 65 20 74 68 65 6e |stMovieT|ime then|
|000056d0| 0d 41 6e 73 77 65 72 20 | 22 51 75 69 63 6b 54 69 |.Answer |"QuickTi|
|000056e0| 6d 65 20 62 75 67 21 20 | 53 74 75 63 6b 20 61 74 |me bug! |Stuck at|
|000056f0| 20 6d 6f 76 69 65 20 74 | 69 6d 65 22 20 26 26 20 | movie t|ime" && |
|00005700| 4d 6f 76 69 65 54 69 6d | 65 20 26 20 22 21 22 0d |MovieTim|e & "!".|
|00005710| 45 78 69 74 20 52 65 70 | 65 61 74 0d 45 6e 64 20 |Exit Rep|eat.End |
|00005720| 49 66 0d 49 66 20 46 72 | 61 6d 65 43 6f 75 6e 74 |If.If Fr|ameCount|
|00005730| 20 3d 20 4d 61 78 46 72 | 61 6d 65 43 6f 75 6e 74 | = MaxFr|ameCount|
|00005740| 20 74 68 65 6e 0d 41 6e | 73 77 65 72 20 22 54 6f | then.An|swer "To|
|00005750| 6f 20 6d 61 6e 79 20 66 | 72 61 6d 65 73 20 69 6e |o many f|rames in|
|00005760| 20 6d 6f 76 69 65 21 22 | 0d 45 78 69 74 20 52 65 | movie!"|.Exit Re|
|00005770| 70 65 61 74 0d 45 6e 64 | 20 49 66 0d 47 65 74 20 |peat.End| If.Get |
|00005780| 47 65 74 4d 6f 76 69 65 | 50 69 63 74 28 54 68 65 |GetMovie|Pict(The|
|00005790| 4d 6f 76 69 65 2c 20 4d | 6f 76 69 65 54 69 6d 65 |Movie, M|ovieTime|
|000057a0| 29 0d 49 66 20 69 74 20 | 3c 20 30 20 74 68 65 6e |).If it |< 0 then|
|000057b0| 0d 41 6e 73 77 65 72 20 | 22 45 72 72 6f 72 22 20 |.Answer |"Error" |
|000057c0| 26 26 20 69 74 20 26 26 | 20 22 67 65 74 74 69 6e |&& it &&| "gettin|
|000057d0| 67 20 6d 6f 76 69 65 20 | 70 69 63 74 75 72 65 2e |g movie |picture.|
|000057e0| 22 0d 45 78 69 74 20 52 | 65 70 65 61 74 0d 45 6e |".Exit R|epeat.En|
|000057f0| 64 20 49 66 0d 50 75 74 | 20 69 74 20 69 6e 74 6f |d If.Put| it into|
|00005800| 20 54 68 69 73 46 72 61 | 6d 65 0d 41 64 64 20 31 | ThisFra|me.Add 1|
|00005810| 20 74 6f 20 46 72 61 6d | 65 43 6f 75 6e 74 0d 41 | to Fram|eCount.A|
|00005820| 64 64 52 65 73 6f 75 72 | 63 65 20 50 49 43 53 66 |ddResour|ce PICSf|
|00005830| 69 6c 65 2c 20 54 68 69 | 73 46 72 61 6d 65 2c 20 |ile, Thi|sFrame, |
|00005840| 22 50 49 43 54 22 2c 20 | 31 32 37 20 2b 20 46 72 |"PICT", |127 + Fr|
|00005850| 61 6d 65 43 6f 75 6e 74 | 2c 20 22 22 2c 20 33 32 |ameCount|, "", 32|
|00005860| 0d 55 70 64 61 74 65 52 | 65 73 46 69 6c 65 20 50 |.UpdateR|esFile P|
|00005870| 49 43 53 66 69 6c 65 0d | 47 65 74 20 47 65 74 48 |ICSfile.|Get GetH|
|00005880| 61 6e 64 6c 65 53 69 7a | 65 28 54 68 69 73 46 72 |andleSiz|e(ThisFr|
|00005890| 61 6d 65 29 0d 49 66 20 | 69 74 20 3e 20 4c 61 72 |ame).If |it > Lar|
|000058a0| 67 65 73 74 50 69 63 74 | 75 72 65 53 69 7a 65 20 |gestPict|ureSize |
|000058b0| 74 68 65 6e 0d 50 75 74 | 20 69 74 20 69 6e 74 6f |then.Put| it into|
|000058c0| 20 4c 61 72 67 65 73 74 | 50 69 63 74 75 72 65 53 | Largest|PictureS|
|000058d0| 69 7a 65 0d 45 6e 64 20 | 49 66 0d 52 65 6c 65 61 |ize.End |If.Relea|
|000058e0| 73 65 52 65 73 6f 75 72 | 63 65 20 54 68 69 73 46 |seResour|ce ThisF|
|000058f0| 72 61 6d 65 0d 50 75 74 | 20 53 65 61 72 63 68 4e |rame.Put| SearchN|
|00005900| 65 78 74 4d 65 64 69 61 | 53 61 6d 70 6c 65 20 69 |extMedia|Sample i|
|00005910| 6e 74 6f 20 53 65 61 72 | 63 68 46 6c 61 67 73 0d |nto Sear|chFlags.|
|00005920| 45 6e 64 20 52 65 70 65 | 61 74 0d 50 75 74 20 47 |End Repe|at.Put G|
|00005930| 65 74 4d 6f 76 69 65 54 | 69 6d 65 53 63 61 6c 65 |etMovieT|imeScale|
|00005940| 28 54 68 65 4d 6f 76 69 | 65 29 20 69 6e 74 6f 20 |(TheMovi|e) into |
|00005950| 4d 6f 76 69 65 54 69 6d | 65 53 63 61 6c 65 0d 50 |MovieTim|eScale.P|
|00005960| 75 74 20 46 72 61 6d 65 | 43 6f 75 6e 74 20 2a 20 |ut Frame|Count * |
|00005970| 4d 6f 76 69 65 54 69 6d | 65 53 63 61 6c 65 20 2f |MovieTim|eScale /|
|00005980| 20 4d 6f 76 69 65 54 69 | 6d 65 20 69 6e 74 6f 20 | MovieTi|me into |
|00005990| 46 72 61 6d 65 52 61 74 | 65 0d 49 66 20 46 72 61 |FrameRat|e.If Fra|
|000059a0| 6d 65 52 61 74 65 20 3c | 20 31 2e 30 20 74 68 65 |meRate <| 1.0 the|
|000059b0| 6e 0d 50 75 74 20 52 6f | 75 6e 64 28 31 2e 30 20 |n.Put Ro|und(1.0 |
|000059c0| 2f 20 46 72 61 6d 65 52 | 61 74 65 29 20 69 6e 74 |/ FrameR|ate) int|
|000059d0| 6f 20 50 49 43 53 46 72 | 61 6d 65 52 61 74 65 0d |o PICSFr|ameRate.|
|000059e0| 49 46 20 50 49 43 53 46 | 72 61 6d 65 52 61 74 65 |IF PICSF|rameRate|
|000059f0| 20 3d 20 30 20 74 68 65 | 6e 0d 50 75 74 20 31 20 | = 0 the|n.Put 1 |
|00005a00| 69 6e 74 6f 20 50 49 43 | 53 46 72 61 6d 65 52 61 |into PIC|SFrameRa|
|00005a10| 74 65 0d 45 6e 64 20 49 | 66 0d 50 75 74 20 2d 50 |te.End I|f.Put -P|
|00005a20| 49 43 53 46 72 61 6d 65 | 52 61 74 65 20 69 6e 74 |ICSFrame|Rate int|
|00005a30| 6f 20 50 49 43 53 46 72 | 61 6d 65 52 61 74 65 0d |o PICSFr|ameRate.|
|00005a40| 45 6c 73 65 0d 50 75 74 | 20 52 6f 75 6e 64 28 46 |Else.Put| Round(F|
|00005a50| 72 61 6d 65 52 61 74 65 | 29 20 69 6e 74 6f 20 50 |rameRate|) into P|
|00005a60| 49 43 53 46 72 61 6d 65 | 52 61 74 65 0d 45 6e 64 |ICSFrame|Rate.End|
|00005a70| 20 49 66 0d 50 75 74 20 | 65 6d 70 74 79 20 69 6e | If.Put |empty in|
|00005a80| 74 6f 20 50 49 43 53 69 | 6e 66 6f 0d 50 75 74 20 |to PICSi|nfo.Put |
|00005a90| 31 20 69 6e 74 6f 20 6c | 69 6e 65 20 31 20 6f 66 |1 into l|ine 1 of|
|00005aa0| 20 50 49 43 53 69 6e 66 | 6f 0d 50 75 74 20 31 36 | PICSinf|o.Put 16|
|00005ab0| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 32 20 6f 66 20 | into li|ne 2 of |
|00005ac0| 50 49 43 53 69 6e 66 6f | 20 2d 2d 20 73 68 6f 75 |PICSinfo| -- shou|
|00005ad0| 6c 64 20 64 65 74 65 72 | 6d 69 6e 65 20 61 63 74 |ld deter|mine act|
|00005ae0| 75 61 6c 20 64 65 70 74 | 68 3f 0d 50 75 74 20 50 |ual dept|h?.Put P|
|00005af0| 49 43 53 46 72 61 6d 65 | 52 61 74 65 20 69 6e 74 |ICSFrame|Rate int|
|00005b00| 6f 20 6c 69 6e 65 20 33 | 20 6f 66 20 50 49 43 53 |o line 3| of PICS|
|00005b10| 69 6e 66 6f 0d 50 75 74 | 20 30 20 69 6e 74 6f 20 |info.Put| 0 into |
|00005b20| 6c 69 6e 65 20 34 20 6f | 66 20 50 49 43 53 69 6e |line 4 o|f PICSin|
|00005b30| 66 6f 0d 50 75 74 20 22 | 3f 3f 3f 3f 22 20 69 6e |fo.Put "|????" in|
|00005b40| 74 6f 20 6c 69 6e 65 20 | 35 20 6f 66 20 50 49 43 |to line |5 of PIC|
|00005b50| 53 69 6e 66 6f 0d 50 75 | 74 20 4c 61 72 67 65 73 |Sinfo.Pu|t Larges|
|00005b60| 74 50 69 63 74 75 72 65 | 53 69 7a 65 20 69 6e 74 |tPicture|Size int|
|00005b70| 6f 20 6c 69 6e 65 20 36 | 20 6f 66 20 50 49 43 53 |o line 6| of PICS|
|00005b80| 69 6e 66 6f 0d 50 75 74 | 20 4d 61 6b 65 50 49 43 |info.Put| MakePIC|
|00005b90| 53 49 6e 66 6f 28 50 49 | 43 53 69 6e 66 6f 29 20 |SInfo(PI|CSinfo) |
|00005ba0| 69 6e 74 6f 20 50 49 43 | 53 69 6e 66 6f 0d 41 64 |into PIC|Sinfo.Ad|
|00005bb0| 64 52 65 73 6f 75 72 63 | 65 20 50 49 43 53 66 69 |dResourc|e PICSfi|
|00005bc0| 6c 65 2c 20 50 49 43 53 | 69 6e 66 6f 2c 20 22 49 |le, PICS|info, "I|
|00005bd0| 4e 46 4f 22 2c 20 31 32 | 38 2c 20 22 22 2c 20 33 |NFO", 12|8, "", 3|
|00005be0| 32 0d 55 70 64 61 74 65 | 52 65 73 46 69 6c 65 20 |2.Update|ResFile |
|00005bf0| 50 49 43 53 66 69 6c 65 | 0d 44 6f 20 43 6c 65 61 |PICSfile|.Do Clea|
|00005c00| 6e 75 70 0d 41 6c 6c 44 | 6f 6e 65 0d 45 6e 64 20 |nup.AllD|one.End |
|00005c10| 43 6f 6e 76 65 72 74 4d | 6f 76 69 65 54 6f 50 49 |ConvertM|ovieToPI|
|00005c20| 43 53 0d 0d 4f 6e 20 43 | 6f 6e 76 65 72 74 4d 6f |CS..On C|onvertMo|
|00005c30| 76 69 65 74 6f 50 49 43 | 54 66 69 6c 65 73 0d 50 |vietoPIC|Tfiles.P|
|00005c40| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 43 6c |ut empty| into Cl|
|00005c50| 65 61 6e 75 70 0d 41 6e | 73 77 65 72 20 66 69 6c |eanup.An|swer fil|
|00005c60| 65 20 22 53 65 6c 65 63 | 74 20 6d 6f 76 69 65 20 |e "Selec|t movie |
|00005c70| 66 69 6c 65 20 74 6f 20 | 63 6f 6e 76 65 72 74 3a |file to |convert:|
|00005c80| 22 20 6f 66 20 74 79 70 | 65 20 22 4d 6f 6f 56 22 |" of typ|e "MooV"|
|00005c90| 0d 49 66 20 69 74 20 69 | 73 20 65 6d 70 74 79 20 |.If it i|s empty |
|00005ca0| 74 68 65 6e 0d 44 6f 20 | 43 6c 65 61 6e 75 70 0d |then.Do |Cleanup.|
|00005cb0| 45 78 69 74 20 43 6f 6e | 76 65 72 74 4d 6f 76 69 |Exit Con|vertMovi|
|00005cc0| 65 74 6f 50 49 43 54 66 | 69 6c 65 73 0d 45 6e 64 |etoPICTf|iles.End|
|00005cd0| 20 49 66 0d 50 75 74 20 | 69 74 20 69 6e 74 6f 20 | If.Put |it into |
|00005ce0| 4d 6f 76 69 65 46 69 6c | 65 4e 61 6d 65 0d 47 65 |MovieFil|eName.Ge|
|00005cf0| 74 20 50 75 74 46 69 6c | 65 28 22 46 69 72 73 74 |t PutFil|e("First|
|00005d00| 20 50 49 43 54 20 66 69 | 6c 65 20 74 6f 20 63 72 | PICT fi|le to cr|
|00005d10| 65 61 74 65 3f 22 29 0d | 49 66 20 69 74 20 69 73 |eate?").|If it is|
|00005d20| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 44 6f 20 43 | empty t|hen.Do C|
|00005d30| 6c 65 61 6e 75 70 0d 45 | 78 69 74 20 43 6f 6e 76 |leanup.E|xit Conv|
|00005d40| 65 72 74 4d 6f 76 69 65 | 74 6f 50 49 43 54 66 69 |ertMovie|toPICTfi|
|00005d50| 6c 65 73 0d 45 6e 64 20 | 49 66 0d 50 75 74 20 69 |les.End |If.Put i|
|00005d60| 74 20 69 6e 74 6f 20 46 | 69 72 73 74 50 69 63 74 |t into F|irstPict|
|00005d70| 75 72 65 46 69 6c 65 0d | 47 65 74 20 46 69 6e 64 |ureFile.|Get Find|
|00005d80| 4e 75 6d 62 65 72 53 75 | 66 66 69 78 28 46 69 72 |NumberSu|ffix(Fir|
|00005d90| 73 74 50 69 63 74 75 72 | 65 46 69 6c 65 29 0d 49 |stPictur|eFile).I|
|00005da0| 66 20 69 74 20 ad 20 30 | 20 74 68 65 6e 0d 50 75 |f it . 0| then.Pu|
|00005db0| 74 20 74 68 65 20 6c 65 | 6e 67 74 68 20 6f 66 20 |t the le|ngth of |
|00005dc0| 46 69 72 73 74 50 69 63 | 74 75 72 65 46 69 6c 65 |FirstPic|tureFile|
|00005dd0| 20 2d 20 69 74 20 69 6e | 74 6f 20 53 75 66 66 69 | - it in|to Suffi|
|00005de0| 78 4c 65 6e 67 74 68 0d | 50 75 74 20 63 68 61 72 |xLength.|Put char|
|00005df0| 20 28 69 74 20 2b 20 31 | 29 20 74 6f 20 28 74 68 | (it + 1|) to (th|
|00005e00| 65 20 6c 65 6e 67 74 68 | 20 6f 66 20 46 69 72 73 |e length| of Firs|
|00005e10| 74 50 69 63 74 75 72 65 | 46 69 6c 65 29 20 c2 0d |tPicture|File) ..|
|00005e20| 6f 66 20 46 69 72 73 74 | 50 69 63 74 75 72 65 46 |of First|PictureF|
|00005e30| 69 6c 65 20 69 6e 74 6f | 20 43 75 72 72 53 75 66 |ile into| CurrSuf|
|00005e40| 66 69 78 0d 50 75 74 20 | 63 68 61 72 20 31 20 74 |fix.Put |char 1 t|
|00005e50| 6f 20 28 69 74 20 2d 20 | 31 29 20 6f 66 20 46 69 |o (it - |1) of Fi|
|00005e60| 72 73 74 50 69 63 74 75 | 72 65 46 69 6c 65 20 69 |rstPictu|reFile i|
|00005e70| 6e 74 6f 20 4e 61 6d 65 | 50 72 65 66 69 78 0d 45 |nto Name|Prefix.E|
|00005e80| 6c 73 65 0d 50 75 74 20 | 46 69 72 73 74 50 69 63 |lse.Put |FirstPic|
|00005e90| 74 75 72 65 46 69 6c 65 | 20 69 6e 74 6f 20 4e 61 |tureFile| into Na|
|00005ea0| 6d 65 50 72 65 66 69 78 | 0d 50 75 74 20 22 30 30 |mePrefix|.Put "00|
|00005eb0| 31 22 20 69 6e 74 6f 20 | 43 75 72 72 53 75 66 66 |1" into |CurrSuff|
|00005ec0| 69 78 0d 50 75 74 20 74 | 68 65 20 6c 65 6e 67 74 |ix.Put t|he lengt|
|00005ed0| 68 20 6f 66 20 43 75 72 | 72 53 75 66 66 69 78 20 |h of Cur|rSuffix |
|00005ee0| 69 6e 74 6f 20 53 75 66 | 66 69 78 4c 65 6e 67 74 |into Suf|fixLengt|
|00005ef0| 68 0d 45 6e 64 20 49 66 | 0d 47 65 74 20 4e 65 77 |h.End If|.Get New|
|00005f00| 4d 6f 76 69 65 46 72 6f | 6d 46 69 6c 65 28 4d 6f |MovieFro|mFile(Mo|
|00005f10| 76 69 65 46 69 6c 65 4e | 61 6d 65 29 0d 49 66 20 |vieFileN|ame).If |
|00005f20| 69 74 20 3c 20 30 20 74 | 68 65 6e 0d 41 6e 73 77 |it < 0 t|hen.Answ|
|00005f30| 65 72 20 22 45 72 72 6f | 72 22 20 26 26 20 69 74 |er "Erro|r" && it|
|00005f40| 20 26 26 20 22 6c 6f 61 | 64 69 6e 67 20 6d 6f 76 | && "loa|ding mov|
|00005f50| 69 65 2e 22 0d 44 6f 20 | 43 6c 65 61 6e 75 70 0d |ie.".Do |Cleanup.|
|00005f60| 45 78 69 74 20 43 6f 6e | 76 65 72 74 4d 6f 76 69 |Exit Con|vertMovi|
|00005f70| 65 74 6f 50 49 43 54 66 | 69 6c 65 73 0d 45 6e 64 |etoPICTf|iles.End|
|00005f80| 20 49 66 0d 50 75 74 20 | 69 74 20 69 6e 74 6f 20 | If.Put |it into |
|00005f90| 54 68 65 4d 6f 76 69 65 | 0d 50 75 74 20 22 44 69 |TheMovie|.Put "Di|
|00005fa0| 73 70 6f 73 65 4d 6f 76 | 69 65 22 20 26 26 20 69 |sposeMov|ie" && i|
|00005fb0| 74 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |t & retu|rn after|
|00005fc0| 20 43 6c 65 61 6e 75 70 | 0d 50 75 74 20 33 32 37 | Cleanup|.Put 327|
|00005fd0| 36 39 20 69 6e 74 6f 20 | 53 65 61 72 63 68 4e 65 |69 into |SearchNe|
|00005fe0| 78 74 4d 65 64 69 61 53 | 61 6d 70 6c 65 0d 50 75 |xtMediaS|ample.Pu|
|00005ff0| 74 20 31 36 33 38 34 20 | 69 6e 74 6f 20 53 65 61 |t 16384 |into Sea|
|00006000| 72 63 68 45 64 67 65 4f | 4b 0d 50 75 74 20 53 65 |rchEdgeO|K.Put Se|
|00006010| 61 72 63 68 4e 65 78 74 | 4d 65 64 69 61 53 61 6d |archNext|MediaSam|
|00006020| 70 6c 65 20 2b 20 53 65 | 61 72 63 68 45 64 67 65 |ple + Se|archEdge|
|00006030| 4f 4b 20 69 6e 74 6f 20 | 53 65 61 72 63 68 46 6c |OK into |SearchFl|
|00006040| 61 67 73 0d 50 75 74 20 | 30 20 69 6e 74 6f 20 4d |ags.Put |0 into M|
|00006050| 6f 76 69 65 54 69 6d 65 | 0d 52 65 70 65 61 74 0d |ovieTime|.Repeat.|
|00006060| 53 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |Set curs|or to bu|
|00006070| 73 79 0d 50 75 74 20 4d | 6f 76 69 65 54 69 6d 65 |sy.Put M|ovieTime|
|00006080| 20 69 6e 74 6f 20 4c 61 | 73 74 4d 6f 76 69 65 54 | into La|stMovieT|
|00006090| 69 6d 65 0d 47 65 74 20 | 6c 69 6e 65 20 31 20 6f |ime.Get |line 1 o|
|000060a0| 66 20 47 65 74 4d 6f 76 | 69 65 4e 65 78 74 49 6e |f GetMov|ieNextIn|
|000060b0| 74 65 72 65 73 74 69 6e | 67 54 69 6d 65 28 54 68 |terestin|gTime(Th|
|000060c0| 65 4d 6f 76 69 65 2c 20 | 53 65 61 72 63 68 46 6c |eMovie, |SearchFl|
|000060d0| 61 67 73 2c 20 c2 0d 22 | 76 69 64 65 22 2c 20 4d |ags, .."|vide", M|
|000060e0| 6f 76 69 65 54 69 6d 65 | 2c 20 74 72 75 65 29 0d |ovieTime|, true).|
|000060f0| 49 66 20 69 74 20 3c 20 | 30 20 74 68 65 6e 0d 45 |If it < |0 then.E|
|00006100| 78 69 74 20 52 65 70 65 | 61 74 0d 45 6e 64 20 49 |xit Repe|at.End I|
|00006110| 66 0d 50 75 74 20 69 74 | 20 69 6e 74 6f 20 4d 6f |f.Put it| into Mo|
|00006120| 76 69 65 54 69 6d 65 0d | 49 66 20 53 65 61 72 63 |vieTime.|If Searc|
|00006130| 68 46 6c 61 67 73 20 3d | 20 53 65 61 72 63 68 4e |hFlags =| SearchN|
|00006140| 65 78 74 4d 65 64 69 61 | 53 61 6d 70 6c 65 20 61 |extMedia|Sample a|
|00006150| 6e 64 20 4d 6f 76 69 65 | 54 69 6d 65 20 3d 20 4c |nd Movie|Time = L|
|00006160| 61 73 74 4d 6f 76 69 65 | 54 69 6d 65 20 74 68 65 |astMovie|Time the|
|00006170| 6e 0d 41 6e 73 77 65 72 | 20 22 51 75 69 63 6b 54 |n.Answer| "QuickT|
|00006180| 69 6d 65 20 62 75 67 21 | 20 53 74 75 63 6b 20 61 |ime bug!| Stuck a|
|00006190| 74 20 6d 6f 76 69 65 20 | 74 69 6d 65 22 20 26 26 |t movie |time" &&|
|000061a0| 20 4d 6f 76 69 65 54 69 | 6d 65 20 26 20 22 21 22 | MovieTi|me & "!"|
|000061b0| 0d 45 78 69 74 20 52 65 | 70 65 61 74 0d 45 6e 64 |.Exit Re|peat.End|
|000061c0| 20 49 66 0d 47 65 74 20 | 47 65 74 4d 6f 76 69 65 | If.Get |GetMovie|
|000061d0| 50 69 63 74 28 54 68 65 | 4d 6f 76 69 65 2c 20 4d |Pict(The|Movie, M|
|000061e0| 6f 76 69 65 54 69 6d 65 | 29 0d 49 66 20 69 74 20 |ovieTime|).If it |
|000061f0| 3c 20 30 20 74 68 65 6e | 0d 41 6e 73 77 65 72 20 |< 0 then|.Answer |
|00006200| 22 45 72 72 6f 72 22 20 | 26 26 20 69 74 20 26 26 |"Error" |&& it &&|
|00006210| 20 22 67 65 74 74 69 6e | 67 20 6d 6f 76 69 65 20 | "gettin|g movie |
|00006220| 70 69 63 74 75 72 65 2e | 22 0d 45 78 69 74 20 52 |picture.|".Exit R|
|00006230| 65 70 65 61 74 0d 45 6e | 64 20 49 66 0d 50 75 74 |epeat.En|d If.Put|
|00006240| 20 69 74 20 69 6e 74 6f | 20 54 68 69 73 46 72 61 | it into| ThisFra|
|00006250| 6d 65 0d 50 69 63 74 75 | 72 65 54 6f 46 69 6c 65 |me.Pictu|reToFile|
|00006260| 20 54 68 69 73 46 72 61 | 6d 65 2c 20 4e 61 6d 65 | ThisFra|me, Name|
|00006270| 50 72 65 66 69 78 20 26 | 20 22 2e 22 20 26 20 43 |Prefix &| "." & C|
|00006280| 75 72 72 53 75 66 66 69 | 78 2c 20 22 74 74 78 74 |urrSuffi|x, "ttxt|
|00006290| 22 0d 47 65 74 20 74 68 | 65 20 72 65 73 75 6c 74 |".Get th|e result|
|000062a0| 0d 49 66 20 69 74 20 69 | 73 20 6e 6f 74 20 65 6d |.If it i|s not em|
|000062b0| 70 74 79 20 74 68 65 6e | 0d 41 6e 73 77 65 72 20 |pty then|.Answer |
|000062c0| 22 45 72 72 6f 72 22 20 | 26 26 20 69 74 20 26 26 |"Error" |&& it &&|
|000062d0| 20 22 73 61 76 69 6e 67 | 20 6d 6f 76 69 65 20 66 | "saving| movie f|
|000062e0| 72 61 6d 65 2e 22 0d 45 | 78 69 74 20 52 65 70 65 |rame.".E|xit Repe|
|000062f0| 61 74 0d 45 6e 64 20 49 | 66 0d 44 69 73 70 6f 73 |at.End I|f.Dispos|
|00006300| 65 50 69 63 74 75 72 65 | 20 54 68 69 73 46 72 61 |ePicture| ThisFra|
|00006310| 6d 65 0d 53 65 74 20 6e | 75 6d 62 65 72 66 6f 72 |me.Set n|umberfor|
|00006320| 6d 61 74 20 74 6f 20 63 | 68 61 72 20 31 20 74 6f |mat to c|har 1 to|
|00006330| 20 53 75 66 66 69 78 4c | 65 6e 67 74 68 20 6f 66 | SuffixL|ength of|
|00006340| 20 22 30 30 30 30 30 30 | 30 30 30 30 22 0d 41 64 | "000000|0000".Ad|
|00006350| 64 20 31 20 74 6f 20 43 | 75 72 72 53 75 66 66 69 |d 1 to C|urrSuffi|
|00006360| 78 0d 50 75 74 20 53 65 | 61 72 63 68 4e 65 78 74 |x.Put Se|archNext|
|00006370| 4d 65 64 69 61 53 61 6d | 70 6c 65 20 69 6e 74 6f |MediaSam|ple into|
|00006380| 20 53 65 61 72 63 68 46 | 6c 61 67 73 0d 45 6e 64 | SearchF|lags.End|
|00006390| 20 52 65 70 65 61 74 0d | 44 6f 20 43 6c 65 61 6e | Repeat.|Do Clean|
|000063a0| 75 70 0d 41 6c 6c 44 6f | 6e 65 0d 45 6e 64 20 43 |up.AllDo|ne.End C|
|000063b0| 6f 6e 76 65 72 74 4d 6f | 76 69 65 74 6f 50 49 43 |onvertMo|vietoPIC|
|000063c0| 54 66 69 6c 65 73 0d 0d | 2d 2d 0d 2d 2d 20 6d 61 |Tfiles..|--.-- ma|
|000063d0| 6e 61 67 65 6d 65 6e 74 | 20 6f 66 20 43 6f 6e 76 |nagement| of Conv|
|000063e0| 65 72 73 69 6f 6e 20 6d | 65 6e 75 0d 2d 2d 0d 0d |ersion m|enu.--..|
|000063f0| 4f 6e 20 43 72 65 61 74 | 65 43 6f 6e 76 65 72 73 |On Creat|eConvers|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.